Skip to content

benjarwar/hubot-madlibs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Hubot Madlibs

A hubot script for playing Madlibs with your Hubot.

Installation

In hubot project repo, run:

npm install hubot-madlibs

Then add hubot-madlibs to your external-scripts.json:

[
  "hubot-madlibs"
]

Commands

madlib start - starts a new round of Madlibs
madlib start <number> - starts using the madlib at index of
madlib cancel - cancels a current round of Madlibs
madlib (respond|r|submit|s) <response> - submits a Madlib response

Customization

The array Madlib#madlibs contains madlib data. Each element should be a JSON object containing two attributes: 'title' and 'text'. Format your text by placing blanks to be filled within double curly breaks, e.g. {{noun}}.

About

Madlibs for Hubot

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published