mirror of
https://github.com/Burn-E99/TheArtificer.git
synced 2026-06-04 09:03:50 -04:00
fix [[popcat not working, 0 is false lol
This commit is contained in:
@@ -19,7 +19,7 @@ config.emojis.forEach((emji: EmojiConf) => {
|
|||||||
|
|
||||||
export const emoji = (message: DiscordenoMessage, command: string) => {
|
export const emoji = (message: DiscordenoMessage, command: string) => {
|
||||||
// shortcut
|
// shortcut
|
||||||
if (allEmojiAliases.indexOf(command)) {
|
if (allEmojiAliases.includes(command)) {
|
||||||
// Start looping thru the possible emojis
|
// Start looping thru the possible emojis
|
||||||
config.emojis.some((emji: EmojiConf) => {
|
config.emojis.some((emji: EmojiConf) => {
|
||||||
log(LT.LOG, `Checking if command was emoji ${JSON.stringify(emji)}`);
|
log(LT.LOG, `Checking if command was emoji ${JSON.stringify(emji)}`);
|
||||||
|
|||||||
Reference in New Issue
Block a user