diff options
Diffstat (limited to 'modules/urbandictionary.py')
| -rw-r--r-- | modules/urbandictionary.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/modules/urbandictionary.py b/modules/urbandictionary.py index 2f86ff6b..314b492f 100644 --- a/modules/urbandictionary.py +++ b/modules/urbandictionary.py @@ -5,7 +5,8 @@ URL_URBANDICTIONARY = "http://api.urbandictionary.com/v0/define" REGEX_DEFNUMBER = re.compile("-n(\d+) \S+") class Module(ModuleManager.BaseModule): - @utils.hook("received.command.urbandictionary|ud", min_args=1) + @utils.hook("received.command.ud", alias_of="urbandictionary") + @utils.hook("received.command.urbandictionary", min_args=1) def ud(self, event): """ :help: Get the definition of a provided term from Urban Dictionary |
