onlyOneReaction on hold until getReactions is fixed in DD

This commit is contained in:
Ean Milligan (Bastion) 2022-09-08 00:41:02 -04:00
parent 3131552df4
commit 25cd42d7b1
1 changed files with 1 additions and 1 deletions

View File

@ -13,7 +13,7 @@ export const reactionAdd = async (bot: Bot, payload: ReactionAdd) => {
const message = await bot.helpers.getMessage(payload.channelId, payload.messageId);
const onlyOneWordRX = /(only one)/g
if (message.content.toLowerCase().includes('clan poll') && message.content.toLowerCase().match(onlyOneWordRX)?.length) {
functions.onlyOneReaction(bot, message);
// functions.onlyOneReaction(bot, message);
// bot.helpers.getReactions()
}