diff --git a/modules/hangman.py b/modules/hangman.py index ee43570..c7a53e8 100755 --- a/modules/hangman.py +++ b/modules/hangman.py @@ -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)