diff options
| author | 2016-04-06 12:02:44 +0100 | |
|---|---|---|
| committer | 2016-04-06 12:02:44 +0100 | |
| commit | 9b2556a65a963ebab123bd4bdc090658f4cd6fef (patch) | |
| tree | 610a8875039227453a3842924bd012e3afcf6883 /modules/commands.py | |
| parent | changed README.md a little. (diff) | |
added usage help to a lot of modules, added a verbose option to karma.py.
Diffstat (limited to 'modules/commands.py')
| -rw-r--r-- | modules/commands.py | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/modules/commands.py b/modules/commands.py index a274ce2a..306a79ed 100644 --- a/modules/commands.py +++ b/modules/commands.py @@ -47,9 +47,10 @@ class Module(object): bot.events.on("received").on("message").on("private").hook( self.private_message) bot.events.on("received").on("command").on("help").hook(self.help, - help="Show help for commands") + help="Show help for commands", usage="<command>") bot.events.on("received").on("command").on("usage").hook(self.usage, - help="Show usage help for commands", min_args=1) + help="Show usage help for commands", min_args=1, + usage="<command>") bot.events.on("received").on("command").on("more").hook(self.more, help="Get more output from the last command") bot.events.on("new").on("user", "channel").hook(self.new) |
