mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-11-30 14:59:34 +01:00
Changed main command from 'ud' to 'urbandict'
This commit is contained in:
parent
9ff5f051bf
commit
1aab33c546
@ -72,7 +72,7 @@ class UrbanDict(callbacks.Privmsg):
|
|||||||
_defUsageRE = re.compile(r'<blockquote><p>(?P<definition>.*?)</p>'
|
_defUsageRE = re.compile(r'<blockquote><p>(?P<definition>.*?)</p>'
|
||||||
r'<p><i>(?P<usage>.*?)</i></p>',
|
r'<p><i>(?P<usage>.*?)</i></p>',
|
||||||
re.MULTILINE | re.DOTALL)
|
re.MULTILINE | re.DOTALL)
|
||||||
def ud(self, irc, msg, args):
|
def urbandict(self, irc, msg, args):
|
||||||
"""[<phrase>]
|
"""[<phrase>]
|
||||||
|
|
||||||
Returns the definition and usage of a random word from
|
Returns the definition and usage of a random word from
|
||||||
|
Loading…
Reference in New Issue
Block a user