aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Objectivitix <[email protected]>2021-05-13 15:24:40 -0300
committerGravatar GitHub <[email protected]>2021-05-13 15:24:40 -0300
commitcf513ebd52cb337f760ae34e33380d1f09285c73 (patch)
treed1fd5570a2cbf81f625f3159cf580f69a07826f8
parentadd a docstring to the dataclass (diff)
fix the QuizEntry dataclass
-rw-r--r--bot/exts/evergreen/trivia_quiz.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/bot/exts/evergreen/trivia_quiz.py b/bot/exts/evergreen/trivia_quiz.py
index b5a18516..4d18eaef 100644
--- a/bot/exts/evergreen/trivia_quiz.py
+++ b/bot/exts/evergreen/trivia_quiz.py
@@ -63,7 +63,8 @@ UNITS_TO_BASE_UNITS = {
@dataclass(frozen=True)
class QuizEntry:
- """Dataclass for a quiz entry (a question and a string containing answers separated by commas)"""
+ """Dataclass for a quiz entry (a question and a string containing answers separated by commas)."""
+
question: str
answer: str