diff options
author | 2023-11-08 11:50:10 +0000 | |
---|---|---|
committer | 2023-11-08 11:50:10 +0000 | |
commit | 9a1b5f49e500d01e879a017b055a5fceff746df8 (patch) | |
tree | 5986c80aca7158e13b19a59f75cc3a6ca6d0f53e /bot/exts/fun/trivia_quiz.py | |
parent | Bump rapidfuzz from 3.4.0 to 3.5.2 (#1394) (diff) | |
parent | Format code with new ruff rules (diff) |
Merge pull request #1389 from python-discord/dependabot/pip/ruff-0.1.3
Bump ruff from 0.0.292 to 0.1.3
Diffstat (limited to 'bot/exts/fun/trivia_quiz.py')
-rw-r--r-- | bot/exts/fun/trivia_quiz.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bot/exts/fun/trivia_quiz.py b/bot/exts/fun/trivia_quiz.py index b96007b5..4f352b71 100644 --- a/bot/exts/fun/trivia_quiz.py +++ b/bot/exts/fun/trivia_quiz.py @@ -430,7 +430,7 @@ class TriviaQuiz(commands.Cog): try: msg = await self.bot.wait_for("message", check=check_func(quiz_entry.var_tol), timeout=10) - except asyncio.TimeoutError: + except TimeoutError: # In case of TimeoutError and the game has been stopped, then do nothing. if not self.game_status[ctx.channel.id]: break |