From 2cb6df26fc5281710aff6089947ecf5c5c1fa33d Mon Sep 17 00:00:00 2001 From: Dragon Fire Date: Sun, 28 Mar 2021 16:16:55 -0400 Subject: [PATCH] Fix --- commands/edit-image/sip.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/commands/edit-image/sip.js b/commands/edit-image/sip.js index 1938c086..8add599a 100644 --- a/commands/edit-image/sip.js +++ b/commands/edit-image/sip.js @@ -8,7 +8,7 @@ module.exports = class SipCommand extends Command { super(client, { name: 'sip', aliases: ['tea', 'sip-tea'], - group: 'edit-avatar', + group: 'edit-image', memberName: 'sip', description: 'Draws a user\'s avatar sipping tea.', throttling: { @@ -46,7 +46,7 @@ module.exports = class SipCommand extends Command { async run(msg, { image, direction }) { try { const overlay = await loadImage(path.join(__dirname, '..', '..', 'assets', 'images', 'sip.png')); - const { body } = await request.get(avatarURL); + const { body } = await request.get(image); const base = await loadImage(body); const canvas = createCanvas(base.width, base.height); const scaleH = overlay.width / base.width;