DRY in rule34 and urbandit for usage
parent
70f7b82bc3
commit
da739a760e
|
@ -14,7 +14,7 @@ def rule34(phenny, input):
|
||||||
|
|
||||||
q = input.group(2)
|
q = input.group(2)
|
||||||
if not q:
|
if not q:
|
||||||
phenny.say(".rule34 <query> - Rule 34: If it exists there is porn of it.")
|
phenny.say(rule34.__doc__.strip())
|
||||||
return
|
return
|
||||||
|
|
||||||
try:
|
try:
|
||||||
|
|
|
@ -14,7 +14,7 @@ def urbandict(phenny, input):
|
||||||
|
|
||||||
word = input.group(2)
|
word = input.group(2)
|
||||||
if not word:
|
if not word:
|
||||||
phenny.say(".urb <word> - Search Urban Dictionary for a definition.")
|
phenny.say(urbandict.__doc__.strip())
|
||||||
return
|
return
|
||||||
|
|
||||||
try:
|
try:
|
||||||
|
|
Loading…
Reference in New Issue