DRY in rule34 and urbandit for usage
This commit is contained in:
@@ -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:
|
||||||
|
|||||||
Reference in New Issue
Block a user