From 08ef12ef65761089ac15f1672b1a4dcf961600c0 Mon Sep 17 00:00:00 2001 From: aikaterna <20862007+aikaterna@users.noreply.github.com> Date: Mon, 25 May 2020 12:32:58 -0700 Subject: [PATCH] [Hunting] More checks on react --- hunting/hunting.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/hunting/hunting.py b/hunting/hunting.py index 68b841e..6ac28eb 100644 --- a/hunting/hunting.py +++ b/hunting/hunting.py @@ -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: