From 98deba18edd63f0cea2746625f7cd191cd5d5425 Mon Sep 17 00:00:00 2001 From: jesopo Date: Sat, 27 Apr 2019 22:27:36 +0100 Subject: Add _name to urbandictionary.py for correct capitalisation --- modules/urbandictionary.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/modules/urbandictionary.py b/modules/urbandictionary.py index 806495fd..210a9ee3 100644 --- a/modules/urbandictionary.py +++ b/modules/urbandictionary.py @@ -5,6 +5,8 @@ URL_URBANDICTIONARY = "http://api.urbandictionary.com/v0/define" REGEX_DEFNUMBER = re.compile("-n(\d+) \S+") class Module(ModuleManager.BaseModule): + _name = "UrbanDictionary" + @utils.hook("received.command.ud", alias_of="urbandictionary") @utils.hook("received.command.urbandictionary", min_args=1) def ud(self, event): -- cgit v1.3.1-10-gc9f91