mirror of
https://github.com/RYGhub/royalnet.git
synced 2024-11-27 13:34:28 +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)
|
random.shuffle(answers)
|
||||||
elif question["type"] == "boolean":
|
elif question["type"] == "boolean":
|
||||||
answers.sort(key=lambda a: a)
|
answers.sort(key=lambda a: a)
|
||||||
|
answers.reverse()
|
||||||
else:
|
else:
|
||||||
raise NotImplementedError("Unknown question type")
|
raise NotImplementedError("Unknown question type")
|
||||||
# Find the correct index
|
# Find the correct index
|
||||||
|
|
Loading…
Reference in a new issue