Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

hubot-learn

hubot-scripts3MIT2.0.0

teaches the character to the hubot.

hubot, hubot-learn

readme

hubot-learn

teaches the character to the hubot.

See src/learn.coffee for full documentation.

Installation

In hubot project repo, run:

npm install hubot-learn --save

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

[
  "hubot-learn"
]

Sample Interaction

user1>> hubot learn Hey Yeah!
hubot>> I learn Hey
user1>> hubot say Hey
hubot>> Yeah!