aboutsummaryrefslogtreecommitdiffstats
path: root/bot/exts/fun/trivia_quiz.py
diff options
context:
space:
mode:
authorGravatar Chris Lovering <[email protected]>2023-11-06 10:40:24 +0000
committerGravatar Chris Lovering <[email protected]>2023-11-06 10:42:02 +0000
commit428c8def8ba10b4a512971115243b6993a3d940b (patch)
tree5986c80aca7158e13b19a59f75cc3a6ca6d0f53e /bot/exts/fun/trivia_quiz.py
parentUse ruff's isort implementation (diff)
Format code with new ruff rules
Diffstat (limited to 'bot/exts/fun/trivia_quiz.py')
-rw-r--r--bot/exts/fun/trivia_quiz.py2
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