Labby is a chat bot built on the Hubot framework.
For more information about generic hubot behaviour see hubot.md.
Labby now runs on Docker!
You can extend Labby in a few ways. Once you've done this see the restart instructions below to make the changes take effect.
Labby has the (now depricated) hubot-scripts package installed. You can add a script from that package by adding the script name to hubot-scripts.json.
New Hubot scripts are externally packaged and installed via npm. To add an external package you just add it as a dependency in package.json and include the package name in external-scripts.json.
A full list of external packages can be found in the hubot-scripts org.
You can also add your own scripts by creating a coffee-script file in the scripts
directory in this repository. Sometimes this is better than using hubot-scripts
or external scripts as you can customise them for Labby, just copy the contents of the desired script and hack away.
See example.coffee for a ton of good examples to get you started. There are also a ton of tutorials, this is one of the better ones.
Labby is currently running two scripts which allow you to update him without accessing his server.
First you must make your changes to this repository and make sure they are merged into master. Then open a direct chat with Labby in slack and tell him to update yourself
and to reload all scripts
.
Labby should then be good to go with your new functionality.
Tests can be run using
npm run test