Compare commits

..

1 Commits

Author SHA1 Message Date
f6779e6c25 rewrote hangman.py 2018-03-29 21:27:04 -04:00

View File

@ -33,11 +33,8 @@ def setup(bot):
@commands("hangman", "hm") @commands("hangman", "hm")
def hangman(bot, trigger): def hangman_start(bot, trigger):
""" """Starts a game of hangman."""
Plays hangman. --start [-s] to start a new game, otherwise words are
taken as attempts to solve and single characters are taken as guesses.
"""
if not trigger.group(2): if not trigger.group(2):
return bot.reply("Hang what?") return bot.reply("Hang what?")