aboutsummaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
authorGravatar jesopo2019-04-27 22:27:36 +0100
committerGravatar jesopo2019-04-27 22:27:36 +0100
commit98deba18edd63f0cea2746625f7cd191cd5d5425 (patch)
treedd9a6c57c44f923cd37a13762eb4abd6ba4cd26d /modules
parentUse is-ignored export in title.py to ignore users for auto-title (diff)
signature
Add _name to urbandictionary.py for correct capitalisation
Diffstat (limited to 'modules')
-rw-r--r--modules/urbandictionary.py2
1 files changed, 2 insertions, 0 deletions
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):