From 8f7cc742423e1510f7864291bb09f92bf95bd7e0 Mon Sep 17 00:00:00 2001 From: sgoudham Date: Sun, 19 Jul 2020 10:01:12 +0100 Subject: [PATCH] Fixed reaction event interfering with help embed --- cogs/modmail/modmail.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/cogs/modmail/modmail.py b/cogs/modmail/modmail.py index 21699204..2fe3e93d 100644 --- a/cogs/modmail/modmail.py +++ b/cogs/modmail/modmail.py @@ -153,6 +153,8 @@ class modmail(commands.Cog): # Don't count reactions that are made by the bot if payload.user_id == self.bot.user.id: return + elif not self.bot.user.id and payload.emoji not in ['✅', '❌']: + return # Find a role corresponding to the Emoji name. guildid = payload.guild_id