hangman now counts word guesses against you

This commit is contained in:
iou1name 2018-06-08 17:02:06 -04:00
parent b9cc5e9603
commit 05651a3c4e

View File

@ -66,6 +66,7 @@ def hangman(bot, trigger):
bot.memory["hangman"].pop(trigger.channel)
return
else:
bot.memory["hangman"][trigger.channel].tries -= 1
msg = "Incorrect. " \
+ f"{bot.memory['hangman'][trigger.channel].tries} tries left."
bot.reply(msg)