aboutsummaryrefslogtreecommitdiffstats
path: root/bot/exts/evergreen/trivia_quiz.py
diff options
context:
space:
mode:
authorGravatar Objectivitix <[email protected]>2021-05-13 15:23:15 -0300
committerGravatar GitHub <[email protected]>2021-05-13 15:23:15 -0300
commitb090b15b4df08b7908cca6016a65802fc779cf3c (patch)
tree8df2d736f258133e9b2e22bd78600b5a5386e4ce /bot/exts/evergreen/trivia_quiz.py
parentimplement decorator-factory's changes (diff)
add a docstring to the dataclass
Diffstat (limited to 'bot/exts/evergreen/trivia_quiz.py')
-rw-r--r--bot/exts/evergreen/trivia_quiz.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/bot/exts/evergreen/trivia_quiz.py b/bot/exts/evergreen/trivia_quiz.py
index 7aab8b87..b5a18516 100644
--- a/bot/exts/evergreen/trivia_quiz.py
+++ b/bot/exts/evergreen/trivia_quiz.py
@@ -63,6 +63,7 @@ UNITS_TO_BASE_UNITS = {
@dataclass(frozen=True)
class QuizEntry:
+ """Dataclass for a quiz entry (a question and a string containing answers separated by commas)"""
question: str
answer: str