Fixed reaction event interfering with help embed

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

@ -153,8 +153,9 @@ 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 ['', '']: elif payload.user_id:
return if str(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