mirror of
https://github.com/Burn-E99/SweeperBot.git
synced 2026-06-04 07:53:50 -04:00
upgrade to dd15
This commit is contained in:
@@ -20,7 +20,7 @@ export const onlyOneReaction = async (bot: Bot, payload: ReactionAdd, message: M
|
||||
const otherEmoji = emojiName(reaction.emoji);
|
||||
|
||||
if (newEmoji !== otherEmoji) {
|
||||
bot.helpers.deleteUserReaction(message.channelId, message.id, payload.userId, otherEmoji).catch((e) =>
|
||||
bot.helpers.deleteUserReaction(message.channelId, message.id, payload.userId, otherEmoji).catch((e: Error) =>
|
||||
utils.commonLoggers.reactionDeleteError('onlyOneReaction.ts:23', message, e, otherEmoji)
|
||||
);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user