fix [[popcat not working, 0 is false lol
This commit is contained in:
parent
8483367cb5
commit
4fbcf15953
|
@ -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)}`);
|
||||
|
|
Loading…
Reference in New Issue