From 4fbcf159532324e25fc0efe7e44d3eacfb7f8c64 Mon Sep 17 00:00:00 2001 From: Ean Milligan Date: Sat, 26 Apr 2025 17:02:54 -0400 Subject: [PATCH] fix [[popcat not working, 0 is false lol --- src/commands/emoji.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/commands/emoji.ts b/src/commands/emoji.ts index 7f338fe..3db336f 100644 --- a/src/commands/emoji.ts +++ b/src/commands/emoji.ts @@ -19,7 +19,7 @@ config.emojis.forEach((emji: EmojiConf) => { export const emoji = (message: DiscordenoMessage, command: string) => { // shortcut - if (allEmojiAliases.indexOf(command)) { + if (allEmojiAliases.includes(command)) { // Start looping thru the possible emojis config.emojis.some((emji: EmojiConf) => { log(LT.LOG, `Checking if command was emoji ${JSON.stringify(emji)}`);