aboutsummaryrefslogtreecommitdiff
path: root/modules/tweets.py
diff options
context:
space:
mode:
Diffstat (limited to 'modules/tweets.py')
-rw-r--r--modules/tweets.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/modules/tweets.py b/modules/tweets.py
index 4dc08789..f0aedcc4 100644
--- a/modules/tweets.py
+++ b/modules/tweets.py
@@ -19,10 +19,11 @@ class Module(ModuleManager.BaseModule):
since, unit = Utils.time_unit(seconds_since)
return "%s %s ago" % (since, unit)
- @Utils.hook("received.command.tweet|tw", usage="[@username/URL/ID]")
+ @Utils.hook("received.command.tweet|tw")
def tweet(self, event):
"""
- Get/find a tweet
+ :help: Get/find a tweet
+ :usage: [@username/URL/ID]
"""
api_key = self.bot.config["twitter-api-key"]
api_secret = self.bot.config["twitter-api-secret"]