From 25cd42d7b17157cfc5b7929cc0037ac65ef9b861 Mon Sep 17 00:00:00 2001 From: "Ean Milligan (Bastion)" Date: Thu, 8 Sep 2022 00:41:02 -0400 Subject: [PATCH] onlyOneReaction on hold until getReactions is fixed in DD --- src/events/reactionAdd.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/events/reactionAdd.ts b/src/events/reactionAdd.ts index 6a32eb5..739ece6 100644 --- a/src/events/reactionAdd.ts +++ b/src/events/reactionAdd.ts @@ -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() }