Compare commits

..

1 Commits

Author SHA1 Message Date
22d76ea932 rewrote hangman.py 2018-03-29 21:30:01 -04:00

View File

@ -33,8 +33,11 @@ def setup(bot):
@commands("hangman", "hm")
def hangman_start(bot, trigger):
"""Starts a game of hangman."""
def hangman(bot, trigger):
"""
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):
return bot.reply("Hang what?")