fix [[popcat not working, 0 is false lol

This commit is contained in:
Ean Milligan 2025-04-26 17:02:54 -04:00
parent 8483367cb5
commit 4fbcf15953
1 changed files with 1 additions and 1 deletions

View File

@ -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)}`);