aboutsummaryrefslogtreecommitdiff
path: root/modules/bitly.py
diff options
context:
space:
mode:
authorGravatar jesopo2016-04-06 12:02:44 +0100
committerGravatar jesopo2016-04-06 12:02:44 +0100
commit9b2556a65a963ebab123bd4bdc090658f4cd6fef (patch)
tree610a8875039227453a3842924bd012e3afcf6883 /modules/bitly.py
parentchanged 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.py3
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"]