diff options
Diffstat (limited to 'bot/exts/events/trivianight/_game.py')
| -rw-r--r-- | bot/exts/events/trivianight/_game.py | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/bot/exts/events/trivianight/_game.py b/bot/exts/events/trivianight/_game.py index a47025c2..1526aa14 100644 --- a/bot/exts/events/trivianight/_game.py +++ b/bot/exts/events/trivianight/_game.py @@ -18,10 +18,11 @@ class QuestionData(TypedDict): time: Optional[int] -class UserGuess(NamedTuple): - answer: str - editable: bool - elapsed: float +UserGuess = tuple[ + str, # Represents the answer choice the user chose. + bool, # Represents if the user can edit their answer. + float # Represents the amount of time passed since the question began. +] class QuestionClosed(RuntimeError): |