![]() You can see several more examples of questions with this random feature in hubot-loaded-questions' res/base_questions.json file. Note that strange-lookin' question object in there. Loaded Questions will find those extra questions and add 'em to the mix! Hubot will ask each question once at random, then shuffle the full list again. Here's an example of what that might look like: ![]() This allows you to add those questions your friends keep asking you to add. More can be added by creating a loaded_questions.json file in the res/ directory at the root of your Hubot project. Loaded Questions comes with a default set of 300 questions. Default is true, but you'll need to play a full round (get through all the questions!) before these start showing up. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |