hubot-madlibs

1.1.3 • Public • Published

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}}.

Package Sidebar

Install

npm i hubot-madlibs

Weekly Downloads

1

Version

1.1.3

License

none

Last publish

Collaborators

  • benjarwar