diff --git a/Discord/bot.py b/Discord/bot.py index c09c6ca68f..53cc642c06 100644 --- a/Discord/bot.py +++ b/Discord/bot.py @@ -1188,7 +1188,7 @@ def raw_reaction_check(payload): for task in pending: task.cancel() if not done: - raise asyncio.TimeoutError + raise TimeoutError return done.pop().result() # Override Context class