aboutsummaryrefslogtreecommitdiff
path: root/modules/isgd.py
diff options
context:
space:
mode:
Diffstat (limited to 'modules/isgd.py')
-rw-r--r--modules/isgd.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/modules/isgd.py b/modules/isgd.py
index f55f17a7..ba7c5618 100644
--- a/modules/isgd.py
+++ b/modules/isgd.py
@@ -18,10 +18,11 @@ class Module(ModuleManager.BaseModule):
if data and data["shorturl"]:
return data["shorturl"]
- @Utils.hook("received.command.shorten", min_args=1, usage="<url>")
+ @Utils.hook("received.command.shorten", min_args=1)
def shorten(self, event):
"""
- Shorten a given URL using the is.gd service
+ :help: Shorten a given URL using the is.gd service
+ :usage: <url>
"""
link = self.events.on("get.shortlink").call_for_result(
url=event["args"])