From 74ef18a418fd546edf717e839493a55995a83b5e Mon Sep 17 00:00:00 2001 From: jesopo Date: Sun, 28 Apr 2019 15:21:09 +0100 Subject: [PATCH] Add !w as an alias of !weather --- modules/weather.py | 1 + 1 file changed, 1 insertion(+) 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): """