From f2c2c467b05e93e07103bfdee36561d4f36290b9 Mon Sep 17 00:00:00 2001 From: Techbot121 Date: Sun, 26 May 2024 14:07:51 +0200 Subject: [PATCH] fix condition on emoji react --- app/services/discord/modules/shitposting.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/services/discord/modules/shitposting.ts b/app/services/discord/modules/shitposting.ts index 85fc1d11..a4577c72 100644 --- a/app/services/discord/modules/shitposting.ts +++ b/app/services/discord/modules/shitposting.ts @@ -339,7 +339,7 @@ export default async (bot: DiscordBot) => { if ( !bot.config.bot.allowedShitpostingChannels.includes(reaction.message.channelId) || reaction.message.author?.id !== bot.discord.user?.id || - lastRespondedReactionMsgs[reaction.message.id] + lastRespondedReactionMsgs.includes(reaction.message.id) ) return;