aboutsummaryrefslogtreecommitdiffstats
path: root/bot/exts/evergreen/trivia_quiz.py
diff options
context:
space:
mode:
Diffstat (limited to 'bot/exts/evergreen/trivia_quiz.py')
-rw-r--r--bot/exts/evergreen/trivia_quiz.py15
1 files changed, 13 insertions, 2 deletions
diff --git a/bot/exts/evergreen/trivia_quiz.py b/bot/exts/evergreen/trivia_quiz.py
index 5ec37b25..43d786bc 100644
--- a/bot/exts/evergreen/trivia_quiz.py
+++ b/bot/exts/evergreen/trivia_quiz.py
@@ -366,7 +366,13 @@ class TriviaQuiz(commands.Cog):
response = random.choice(WRONG_ANS_RESPONSE)
await ctx.send(response)
- await self.send_answer(ctx.channel, answers, question_dict, self.question_limit - len(done_question))
+
+ await self.send_answer(
+ ctx.channel,
+ answers,
+ question_dict,
+ self.question_limit - len(done_question)
+ )
await asyncio.sleep(1)
hint_no = 0 # init hint_no = 0 so that 2 hints/time alerts can be sent for the new question.
@@ -393,7 +399,12 @@ class TriviaQuiz(commands.Cog):
await ctx.send(f"{msg.author.mention} got the correct answer :tada: {points} points!")
- await self.send_answer(ctx.channel, answers, question_dict, self.question_limit - len(done_question))
+ await self.send_answer(
+ ctx.channel,
+ answers,
+ question_dict,
+ self.question_limit - len(done_question)
+ )
await self.send_score(ctx.channel, self.game_player_scores[ctx.channel.id])
await asyncio.sleep(2)