also enabled NONE_OF_THAT to be handled
This commit is contained in:
parent
a2adef808f
commit
5e58765cf4
@ -26,7 +26,7 @@ export async function execute(messageReaction: MessageReaction, user: User) {
|
|||||||
|
|
||||||
logger.info(`emoji: ${messageReaction.emoji.toString()}`)
|
logger.info(`emoji: ${messageReaction.emoji.toString()}`)
|
||||||
|
|
||||||
if (!Object.values(Emotes).includes(messageReaction.emoji.toString())) {
|
if (!Object.values(Emotes).includes(messageReaction.emoji.toString()) && messageReaction.emoji.toString() !== NONE_OF_THAT) {
|
||||||
logger.info(`${messageReaction.emoji.toString()} currently not handled`)
|
logger.info(`${messageReaction.emoji.toString()} currently not handled`)
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user