mirror of
https://github.com/RYGhub/royalnet.git
synced 2024-11-23 19:44:20 +00:00
Swap true and false
This commit is contained in:
parent
c288612fc9
commit
11b808e778
1 changed files with 1 additions and 0 deletions
|
@ -51,6 +51,7 @@ class TriviaCommand(Command):
|
|||
random.shuffle(answers)
|
||||
elif question["type"] == "boolean":
|
||||
answers.sort(key=lambda a: a)
|
||||
answers.reverse()
|
||||
else:
|
||||
raise NotImplementedError("Unknown question type")
|
||||
# Find the correct index
|
||||
|
|
Loading…
Reference in a new issue