diff options
| author | 2016-04-06 12:02:44 +0100 | |
|---|---|---|
| committer | 2016-04-06 12:02:44 +0100 | |
| commit | 9b2556a65a963ebab123bd4bdc090658f4cd6fef (patch) | |
| tree | 610a8875039227453a3842924bd012e3afcf6883 /modules/bitly.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/bitly.py')
| -rw-r--r-- | modules/bitly.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/modules/bitly.py b/modules/bitly.py index b0aa5d7b..ac7835a1 100644 --- a/modules/bitly.py +++ b/modules/bitly.py @@ -11,7 +11,8 @@ class Module(object): self.bot = bot bot.events.on("get").on("shortlink").hook(self.shortlink) bot.events.on("received").on("command").on("shorten" - ).hook(self.shorten, min_args=1) + ).hook(self.shorten, min_args=1, help="Shorten a URL.", + usage="<url>") def shortlink(self, event): url = event["url"] |
