Adding printing of the game before removing it, as I'm not sure where the logic failed
This commit is contained in:
parent
a41828d1d1
commit
69d622a7af
1 changed files with 1 additions and 1 deletions
|
@ -86,7 +86,7 @@ class Hangman:
|
||||||
fmt = "That's correct!"
|
fmt = "That's correct!"
|
||||||
else:
|
else:
|
||||||
fmt = "Sorry that's not the correct phrase..."
|
fmt = "Sorry that's not the correct phrase..."
|
||||||
|
fmt += str(game)
|
||||||
if game.win:
|
if game.win:
|
||||||
fmt += " You guys got it! The word was `{}`".format(game.word)
|
fmt += " You guys got it! The word was `{}`".format(game.word)
|
||||||
del self.games[ctx.message.server.id]
|
del self.games[ctx.message.server.id]
|
||||||
|
|
Loading…
Reference in a new issue