JakobOvrum / Diggler

IRC bot framework for the D programming language
http://jakobovrum.github.io/Diggler/
Other
6 stars 5 forks source link

Suggestion for help command #8

Closed mitchgrout closed 8 years ago

mitchgrout commented 9 years ago

For the default help command, I suggest that it echoes only the added command sets, instead of echoing every command set and their commands on a separate line. This will avoid flooding a channel if a large number of command sets have been added to the bot. The help command should also be modified so you can ask for help for a specific command set, and get the commands it defines.

JakobOvrum commented 9 years ago

The help command is implemented using the same interface as user commands: https://github.com/JakobOvrum/Diggler/blob/master/src/diggler/defaultcommands.d#L22

Maybe you want to try implementing this yourself? :)