Closed q0rban closed 9 years ago
Seems like we'll need a way for scripts to register their help text with the bot.
Something like bot.help.add(key, message)
So you could then do
bot.help.add('factoids', 'Set factoids with "BOTNAME: Seth is tall." ...');
We could then also add
bot.help.summary()
which lists all the keys and creates the summary output.
And
bot.help.get('factoid')
which retrieves the detailed help for a script.
Here's an attempt at making this happen, and adding some help text for the existing commands.
We need some help functionality:
Note, the above help was just copy/pasted as an example.