Lullabot/lubot — pull request #29 by eojthebrave (2014-11-28 21:13:52+00:00)
Title: [#11] Add a system for scripts to add help and the bot to retrieve and display it.

Resolves #11

- Adds bot.help API that can be used to add and get specific help text, and a summary option to retrieve a list of all registered help texts.
- Adds a script that interfaces with the bot.help API in order to allow for display of help message by the bot itself.
- Provides basic documentation for adding help text to your own scrips.

Example:

```
<@eojthebrave> joebot: help?
Detailed information is available with "BOTNAME: help ?" where is one of: factoids, help
<@eojthebrave> joebot: help?
Detailed information is available with "BOTNAME: help ?" where is one of: factoids, help
<@eojthebrave> joebot: help factoids?
Set factoids with "BOTNAME: Metal is great." or "BOTNAME: cats are furry." or "BOTNAME: ping is WHAT?!". You can use the !who placeholder, it will be replaced with the nick of the user performing the query. Retrieve with "Robots?" or "BOTNAME: cheer!" Forget with "BOTNAME: delete factoid ping".
```