Add _name to urbandictionary.py for correct capitalisation

This commit is contained in:
jesopo 2019-04-27 22:27:36 +01:00
parent 437418d006
commit 98deba18ed

View file

@ -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):