onlyOneReaction on hold until getReactions is fixed in DD
This commit is contained in:
parent
3131552df4
commit
25cd42d7b1
|
@ -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()
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue