diff options
| author | 2020-03-30 09:44:13 +0300 | |
|---|---|---|
| committer | 2020-03-30 09:44:13 +0300 | |
| commit | 307aacbf1b7304ebb52d5193f19b5a12623cdbfd (patch) | |
| tree | d0a114e56e19976956b7fdf6361b62b4769de95a | |
| parent | (Tags): Added trashcan handling to `!tags get` command. (diff) | |
(Tags): Fixed trashcan handling check.
| -rw-r--r-- | bot/cogs/tags.py | 4 |
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) |