aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar ks123 <[email protected]>2020-03-31 10:54:58 +0300
committerGravatar ks123 <[email protected]>2020-03-31 10:54:58 +0300
commitaa9757b30b4a9d4c65a994f90dfcc65f148ac655 (patch)
tree493a38ba4722d61538d3c1a433938ef349b5c568
parent(Tags): Fixed `TimeoutError` shadowing with `asyncio.TimeoutError`. (diff)
(Tags): Added blank line between check function and `try:` block on `send_embed_with_trashcan` function.
-rw-r--r--bot/cogs/tags.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/bot/cogs/tags.py b/bot/cogs/tags.py
index 9548f2e43..8115423cc 100644
--- a/bot/cogs/tags.py
+++ b/bot/cogs/tags.py
@@ -152,6 +152,7 @@ class Tags(Cog):
and user == ctx.author
and reaction.message.id == msg.id
)
+
try:
await self.bot.wait_for("reaction_add", timeout=60.0, check=check_trashcan)
except asyncio.TimeoutError: