From c4ae13f8b00d8df5ed6e3616c4ae799e638f8428 Mon Sep 17 00:00:00 2001 From: Dragon Fire Date: Mon, 23 Mar 2020 13:27:41 -0400 Subject: [PATCH] Fix has-transparency group --- commands/analyze/has-transparency.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/commands/analyze/has-transparency.js b/commands/analyze/has-transparency.js index 8701390a..7f357a7c 100644 --- a/commands/analyze/has-transparency.js +++ b/commands/analyze/has-transparency.js @@ -8,7 +8,7 @@ module.exports = class HasTransparencyCommand extends Command { super(client, { name: 'has-transparency', aliases: ['has-alpha', 'transparency', 'transparent', 'alpha'], - group: 'meme-gen', + group: 'analyze', memberName: 'has-transparency', description: 'Determines if an image has transparency in it.', throttling: { @@ -30,7 +30,7 @@ module.exports = class HasTransparencyCommand extends Command { try { const { body } = await request.get(image); const data = await loadImage(body); - return msg.say(`This image **${hasAlpha(data) ? 'has' : 'does not have'}** transparency.`); + return msg.reply(`This image **${hasAlpha(data) ? 'has' : 'does not have'}** transparency.`); } catch (err) { return msg.reply(`Oh no, an error occurred: \`${err.message}\`. Try again later!`); }