Fixed reaction event interfering with help embed

pull/8/head
sgoudham 4 years ago
parent 8f7cc74242
commit 1db9dd4973

@ -153,7 +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 ['', '']:
elif payload.user_id:
if str(payload.emoji) not in ['', '']:
return
# Find a role corresponding to the Emoji name.

Loading…
Cancel
Save