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")
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.
"""
def hangman_start(bot, trigger):
"""Starts a game of hangman."""
if not trigger.group(2):
return bot.reply("Hang what?")