diff --git a/discord/context_managers.py b/discord/context_managers.py index 387518312..e7ac501c6 100644 --- a/discord/context_managers.py +++ b/discord/context_managers.py @@ -30,7 +30,7 @@ def _typing_done_callback(fut): # just retrieve any exception and call it a day try: fut.exception() - except Exception: + except (asyncio.CancelledError, Exception): pass class Typing: