aboutsummaryrefslogtreecommitdiffstats
path: root/bot/resources
diff options
context:
space:
mode:
authorGravatar RohanJnr <[email protected]>2019-09-23 19:00:32 +0530
committerGravatar RohanJnr <[email protected]>2019-09-23 19:00:32 +0530
commit207efa437e3b585250f7b36e66ab262a0acc3217 (patch)
tree341e9ebb0733fc73ef210abda2379a97d2ef371b /bot/resources
parentusing 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')
-rw-r--r--bot/resources/evergreen/trivia_quiz.json3
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":[]
}