Changed main command from 'ud' to 'urbandict'

This commit is contained in:
Kevin Murphy 2004-09-12 20:58:38 +00:00
parent 9ff5f051bf
commit 1aab33c546

View File

@ -72,7 +72,7 @@ class UrbanDict(callbacks.Privmsg):
_defUsageRE = re.compile(r'<blockquote><p>(?P<definition>.*?)</p>'
r'<p><i>(?P<usage>.*?)</i></p>',
re.MULTILINE | re.DOTALL)
def ud(self, irc, msg, args):
def urbandict(self, irc, msg, args):
"""[<phrase>]
Returns the definition and usage of a random word from