2.0.3 • Published 19 days ago
hubot-trivia-game v2.0.3
Hubot Trivia Game Plugin
A trivia bot.
Commands
- !trivia - ask a question
- !skip - skip the current question
- !answer or !a - provide an answer
- !score - check the score of the player
- !scores or !score all - check the score of all players
- !h or !hint - take a hint
Installation
- In your hubot installation's path:
npm install hubot-trivia-game --save
- edit
external-scripts.json
and addhubot-trivia-game
to the JSON array. - if the file doesn't exist, create it with
["hubot-trivia-game"]
- add a
questions.json
file tores/
folder which you may also need to create
Question DB
The question database is a file containing a JSON array of questions with the following properties:
{
"answer": "Pizza",
"category": "FOOD",
"question": "Crust, sauce, and toppings!",
"value": "$400"
},
One example of such a question set can be found here.
The file needs to be stored in <hubot_root>/res/questions.json
2.0.3
19 days ago
2.0.2
19 days ago
2.0.1
19 days ago
2.0.0
19 days ago
1.0.8
8 years ago
1.0.7
8 years ago
1.0.6-bear.7
9 years ago
1.0.6-bear.6
9 years ago
1.0.6-bear.5
9 years ago
1.0.6-bear.4
9 years ago
1.0.6-bear.3
9 years ago
1.0.6-bear.2
9 years ago
1.0.6-bear.1
9 years ago
1.0.5
9 years ago
1.0.4
9 years ago
1.0.3
9 years ago
1.0.2
9 years ago
1.0.1
10 years ago
1.0.0
10 years ago