[Hunting] More checks on react

This commit is contained in:
aikaterna
2020-05-25 12:32:58 -07:00
committed by GitHub
parent 5c5eb1c6eb
commit 08ef12ef65

View File

@@ -330,6 +330,10 @@ class Hunting(commands.Cog):
def check(reaction, user):
if user.bot:
return False
if guild != reaction.message.guild:
return False
if channel != reaction.message.channel:
return False
return user and str(reaction.emoji) == "💥"
try: