aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Daniel Brown <[email protected]>2018-09-07 12:24:11 -0500
committerGravatar Daniel Brown <[email protected]>2018-09-07 12:24:11 -0500
commiteb6acfc11a24f8301503f5b0c5717a3f43c5b7ce (patch)
tree98463622fcc5d1fd86c8e463161104809cac5b22
parentAdded Python format embed removal, either by the user correcting their format... (diff)
Corrected a check for the bot id
-rw-r--r--bot/cogs/bot.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/bot/cogs/bot.py b/bot/cogs/bot.py
index 1b5662ab1..bad494071 100644
--- a/bot/cogs/bot.py
+++ b/bot/cogs/bot.py
@@ -363,7 +363,7 @@ class Bot:
await bot_msg.delete()
async def on_reaction_add(self, reaction, user):
- if user.id == self.id or reaction.message.id not in self.py_msg_ids.values():
+ if user.id == self.user.id or reaction.message.id not in self.py_msg_ids.values():
return
for k, v in self.py_msg_ids.items():