aboutsummaryrefslogtreecommitdiff
path: root/modules/twitter.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/twitter.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/twitter.py')
-rw-r--r--modules/twitter.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/modules/twitter.py b/modules/twitter.py
index 20dc5f5e..a1308df5 100644
--- a/modules/twitter.py
+++ b/modules/twitter.py
@@ -14,7 +14,8 @@ class Module(object):
def __init__(self, bot):
self.bot = bot
bot.events.on("received").on("command").on("twitter", "tw"
- ).hook(self.twitter, help="Find a tweet")
+ ).hook(self.twitter, help="Find a tweet",
+ usage="[@username/URL/ID]")
def make_timestamp(self, s):
seconds_since = time.time()-datetime.datetime.strptime(s,