diff options
| author | 2019-04-28 15:21:09 +0100 | |
|---|---|---|
| committer | 2019-04-28 15:21:09 +0100 | |
| commit | 74ef18a418fd546edf717e839493a55995a83b5e (patch) | |
| tree | f8e29ff98220171503c8c3f8fb90d3b66acec76f | |
| parent | Remove incorrect and redundant `usage` !weather (diff) | |
| signature | ||
Add !w as an alias of !weather
| -rw-r--r-- | modules/weather.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/modules/weather.py b/modules/weather.py index b5729d0c..4f4bb913 100644 --- a/modules/weather.py +++ b/modules/weather.py @@ -10,6 +10,7 @@ class Module(ModuleManager.BaseModule): if not user_location == None: return "%s, %s" % (user_location["city"], user_location["country"]) + @utils.hook("received.command.w", alias_of="weather") @utils.hook("received.command.weather") def weather(self, event): """ |
