aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--bot/cogs/tags.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/bot/cogs/tags.py b/bot/cogs/tags.py
index 5dbb75c73..3f9647eb5 100644
--- a/bot/cogs/tags.py
+++ b/bot/cogs/tags.py
@@ -148,8 +148,8 @@ class Tags(Cog):
def check_trashcan(reaction: Reaction, user: User) -> bool:
return (
reaction.emoji == Emojis.trashcan
- and user.id == ctx.author.id
- and reaction.message == msg
+ and user == ctx.author
+ and reaction.message.id == msg.id
)
try:
await self.bot.wait_for("reaction_add", timeout=60.0, check=check_trashcan)