add help for a bunch of modules

This commit is contained in:
mutantmonkey
2013-10-05 16:20:37 -07:00
parent 6606bf18ad
commit 256592b79f
12 changed files with 45 additions and 22 deletions

View File

@@ -90,6 +90,8 @@ def format(word, definitions, number=2):
return result.strip(' .,')
def w(phenny, input):
""".w <word> - Get the definition of a word from wiktionary."""
if not input.group(2):
return phenny.reply("Nothing to define.")
word = input.group(2)