hubot-trivia-game-french
French translation of the original hubot-trivia-game from Michael Yin
Last updated 5 years ago by winz .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install hubot-trivia-game-french 
SYNC missed versions from official npm registry.

Hubot Trivia Game Plugin

A trivia bot.

Commands

  • !trivia - ask a question
  • !skip - skip the current question
  • !answer <answer> or !a <answer> - provide an answer
  • !score <player> - check the score of the player
  • !scores or !score all - check the score of all players
  • !h or !hint - take a hint
  • !reset - reset players scores

Installation

  • In your hubot installation's path:
  • npm install hubot-trivia-game-french --save
  • edit external-scripts.json and add hubot-trivia-game-french to the JSON array.
  • if the file doesn't exist, create it with ["hubot-trivia-game-french"]
  • add a questions.json file to res/ 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.

If the answer is a number is must still be "as a string" in the json file. Eg :

{
  "answer": "60",
  "category": "CATEGORY",
  "question": "How many minutes in an hour ?",
  "value": "$400"
},

The file needs to be stored in <hubot_root>/res/questions.json

Current Tags

  • 2.2.5                                ...           latest (5 years ago)

42 Versions

  • 2.2.5                                ...           5 years ago
  • 2.2.4                                ...           5 years ago
  • 2.2.3                                ...           5 years ago
  • 2.2.2                                ...           5 years ago
  • 2.2.1                                ...           5 years ago
  • 2.2.0                                ...           5 years ago
  • 2.1.1                                ...           5 years ago
  • 2.1.0                                ...           5 years ago
  • 2.0.14                                ...           5 years ago
  • 2.0.13                                ...           5 years ago
  • 2.0.12                                ...           5 years ago
  • 2.0.11                                ...           5 years ago
  • 2.0.10                                ...           5 years ago
  • 2.0.9                                ...           5 years ago
  • 2.0.8                                ...           5 years ago
  • 2.0.7                                ...           5 years ago
  • 2.0.6                                ...           5 years ago
  • 2.0.5                                ...           5 years ago
  • 2.0.4                                ...           5 years ago
  • 2.0.3                                ...           5 years ago
  • 2.0.2                                ...           5 years ago
  • 2.0.1                                ...           5 years ago
  • 2.0.0                                ...           5 years ago
  • 1.1.6                                ...           5 years ago
  • 1.1.5                                ...           5 years ago
  • 1.1.4                                ...           5 years ago
  • 1.1.3                                ...           5 years ago
  • 1.1.2                                ...           5 years ago
  • 1.1.1                                ...           5 years ago
  • 1.1.0                                ...           5 years ago
  • 1.0.13                                ...           5 years ago
  • 1.0.12                                ...           5 years ago
  • 1.0.9                                ...           5 years ago
  • 1.0.8                                ...           5 years ago
  • 1.0.7                                ...           5 years ago
  • 1.0.6                                ...           5 years ago
  • 1.0.5                                ...           5 years ago
  • 1.0.4                                ...           5 years ago
  • 1.0.3                                ...           5 years ago
  • 1.0.2                                ...           5 years ago
  • 1.0.1                                ...           5 years ago
  • 1.0.0                                ...           5 years ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 1
Last Month 2
Dependencies (2)
Dev Dependencies (4)
Dependents (1)

Copyright 2014 - 2017 © taobao.org |