Add !w as an alias of !weather
This commit is contained in:
parent
a7a3f5fd25
commit
74ef18a418
1 changed files with 1 additions and 0 deletions
|
@ -10,6 +10,7 @@ class Module(ModuleManager.BaseModule):
|
||||||
if not user_location == None:
|
if not user_location == None:
|
||||||
return "%s, %s" % (user_location["city"], user_location["country"])
|
return "%s, %s" % (user_location["city"], user_location["country"])
|
||||||
|
|
||||||
|
@utils.hook("received.command.w", alias_of="weather")
|
||||||
@utils.hook("received.command.weather")
|
@utils.hook("received.command.weather")
|
||||||
def weather(self, event):
|
def weather(self, event):
|
||||||
"""
|
"""
|
||||||
|
|
Loading…
Reference in a new issue