diff options
| author | 2019-09-23 19:00:32 +0530 | |
|---|---|---|
| committer | 2019-09-23 19:00:32 +0530 | |
| commit | 207efa437e3b585250f7b36e66ab262a0acc3217 (patch) | |
| tree | 341e9ebb0733fc73ef210abda2379a97d2ef371b /bot/resources/evergreen | |
| parent | using self.categories insted of list(self.categories.keys()) (diff) | |
Modified the code drastically for the quiz game:
- Using a while loop to run a game rather than bunch of the functions calling each other.
- using wait_for() to send hints, answers and to move to next questions.
Diffstat (limited to 'bot/resources/evergreen')
| -rw-r--r-- | bot/resources/evergreen/trivia_quiz.json | 3 | 
1 files changed, 2 insertions, 1 deletions
diff --git a/bot/resources/evergreen/trivia_quiz.json b/bot/resources/evergreen/trivia_quiz.json index f884e67a..62856863 100644 --- a/bot/resources/evergreen/trivia_quiz.json +++ b/bot/resources/evergreen/trivia_quiz.json @@ -30,5 +30,6 @@        "question": "What was the first game Yoshi appeared in?",        "answer": "Super Mario World"      }   -  ] +  ], +  "general":[]  }  |