diff options
| author | 2018-10-10 10:42:41 +0100 | |
|---|---|---|
| committer | 2018-10-10 10:42:41 +0100 | |
| commit | 376825ea96099efc0f5e890370a417db1902df1a (patch) | |
| tree | 456f70d784e9b63cbc70b167380d95000d5e4030 /modules/tweets.py | |
| parent | Remove debug print in src.utils.http (diff) | |
| signature | ||
Mark command hooks that are aliases ('g' vs 'google')
Diffstat (limited to 'modules/tweets.py')
| -rw-r--r-- | modules/tweets.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/modules/tweets.py b/modules/tweets.py index 539506b9..b057dade 100644 --- a/modules/tweets.py +++ b/modules/tweets.py @@ -19,7 +19,8 @@ class Module(ModuleManager.BaseModule): since, unit = utils.time_unit(seconds_since) return "%s %s ago" % (since, unit) - @utils.hook("received.command.tweet|tw") + @utils.hook("received.command.tw", alias_of="tweet") + @utils.hook("received.command.tweet") def tweet(self, event): """ :help: Get/find a tweet |
