diff options
| author | 2019-04-27 22:27:36 +0100 | |
|---|---|---|
| committer | 2019-04-27 22:27:36 +0100 | |
| commit | 98deba18edd63f0cea2746625f7cd191cd5d5425 (patch) | |
| tree | dd9a6c57c44f923cd37a13762eb4abd6ba4cd26d | |
| parent | Use is-ignored export in title.py to ignore users for auto-title (diff) | |
| signature | ||
Add _name to urbandictionary.py for correct capitalisation
| -rw-r--r-- | modules/urbandictionary.py | 2 |
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): |
