1
0
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:
Ean Milligan (Bastion)
2022-09-12 18:24:24 -04:00
parent 08a2b375a3
commit 5bc71c2767
2 changed files with 4 additions and 4 deletions

View File

@@ -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)
);
}