mirror of
https://github.com/Burn-E99/SweeperBot.git
synced 2026-06-03 23:43:49 -04:00
onlyOneReaction on hold until getReactions is fixed in DD
This commit is contained in:
@@ -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()
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user