From cec38cf4bd4e33ebc2650fca5f883a3229b6df1f Mon Sep 17 00:00:00 2001 From: Keanu Date: Sun, 7 Mar 2021 22:07:59 +0100 Subject: [PATCH] Stop deleting the emote invocation. --- src/commands/utilities/emote.ts | 1 - 1 file changed, 1 deletion(-) diff --git a/src/commands/utilities/emote.ts b/src/commands/utilities/emote.ts index 7b841e5..912774c 100644 --- a/src/commands/utilities/emote.ts +++ b/src/commands/utilities/emote.ts @@ -12,7 +12,6 @@ export default new Command({ async run({guild, channel, message, args}) { let output = ""; for (const query of args) output += queryClosestEmoteByName(query).toString(); - if (botHasPermission(guild, Permissions.FLAGS.MANAGE_MESSAGES)) message.delete(); channel.send(output); } })