Fixed reaction event interfering with help embed

pull/8/head
sgoudham 4 years ago
parent ff7b836e36
commit 8f7cc74242

@ -153,6 +153,8 @@ class modmail(commands.Cog):
# Don't count reactions that are made by the bot # Don't count reactions that are made by the bot
if payload.user_id == self.bot.user.id: if payload.user_id == self.bot.user.id:
return return
elif not self.bot.user.id and payload.emoji not in ['', '']:
return
# Find a role corresponding to the Emoji name. # Find a role corresponding to the Emoji name.
guildid = payload.guild_id guildid = payload.guild_id

Loading…
Cancel
Save