DRY in rule34 and urbandit for usage

master
mutantmonkey 2012-05-14 16:49:41 -04:00
parent 70f7b82bc3
commit da739a760e
2 changed files with 2 additions and 2 deletions

View File

@ -14,7 +14,7 @@ def rule34(phenny, input):
q = input.group(2)
if not q:
phenny.say(".rule34 <query> - Rule 34: If it exists there is porn of it.")
phenny.say(rule34.__doc__.strip())
return
try:

View File

@ -14,7 +14,7 @@ def urbandict(phenny, input):
word = input.group(2)
if not word:
phenny.say(".urb <word> - Search Urban Dictionary for a definition.")
phenny.say(urbandict.__doc__.strip())
return
try: