aboutsummaryrefslogtreecommitdiffstats
path: root/bot
diff options
context:
space:
mode:
authorGravatar Shom770 <[email protected]>2021-10-26 07:40:07 -0400
committerGravatar Shom770 <[email protected]>2022-02-09 18:13:36 -0500
commit2b614d8b1ae89fc7e7e85e318b238b464aeae8b4 (patch)
tree229e80bc199fe9eec79072df8ab0cd0a9e2bd915 /bot
parentBrevity with "answer choice" (diff)
Brevity with iterables
Co-authored-by: Bluenix <[email protected]>
Diffstat (limited to 'bot')
-rw-r--r--bot/exts/events/trivianight/_questions.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/bot/exts/events/trivianight/_questions.py b/bot/exts/events/trivianight/_questions.py
index 0c81d6d3..49fc894e 100644
--- a/bot/exts/events/trivianight/_questions.py
+++ b/bot/exts/events/trivianight/_questions.py
@@ -83,7 +83,7 @@ class QuestionView(View):
description=self.current_question["description"],
color=Colours.python_yellow
)
- for label, answer in zip(("A", "B", "C", "D"), self.current_question["answers"]):
+ for label, answer in zip("ABCD", self.current_question["answers"]):
question_embed.add_field(name=f"Choice {label}", value=answer, inline=False)
for button in self.buttons: