From 376825ea96099efc0f5e890370a417db1902df1a Mon Sep 17 00:00:00 2001 From: jesopo Date: Wed, 10 Oct 2018 10:42:41 +0100 Subject: Mark command hooks that are aliases ('g' vs 'google') --- modules/trakt.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'modules/trakt.py') diff --git a/modules/trakt.py b/modules/trakt.py index 4d125c54..8adc3cc4 100644 --- a/modules/trakt.py +++ b/modules/trakt.py @@ -7,7 +7,8 @@ URL_TRAKTSLUG = "https://trakt.tv/%s/%s" @utils.export("set", {"setting": "trakt", "help": "Set username on trakt.tv"}) class Module(ModuleManager.BaseModule): - @utils.hook("received.command.nowwatching|nw") + @utils.hook("received.command.nw", alias_of="nowwatching") + @utils.hook("received.command.nowwatching") def now_watching(self, event): """ :help: Get what you or another user is now watching on trakt.tv -- cgit v1.3.1-10-gc9f91