Skip to content

Commit

Permalink
fix condition on emoji react
Browse files Browse the repository at this point in the history
  • Loading branch information
Techbot121 authored and Meta Construct committed May 26, 2024
1 parent 3d5b456 commit f2c2c46
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/services/discord/modules/shitposting.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down

0 comments on commit f2c2c46

Please sign in to comment.