Remove halbot, update slogan module to show usage when used improperly

This commit is contained in:
mutantmonkey
2011-07-28 10:48:40 -04:00
parent 04b31bb963
commit fa3fd7110c
2 changed files with 4 additions and 27 deletions

View File

@@ -17,6 +17,10 @@ def sloganize(word):
def slogan(phenny, input):
word = input.group(2)
if word is None:
phenny.say("You need to specify a word; try .slogan Granola")
return
slogan = sloganize(word)
# Remove HTML tags