diff options
author | 2024-07-08 17:36:27 -0500 | |
---|---|---|
committer | 2024-07-08 17:36:27 -0500 | |
commit | 9063b750ff2aace7cb12b264eb6f11edc68e1e7f (patch) | |
tree | bf2638231c923cc22e65c979479c11026e0b1518 /bot/exts/fun/hangman.py | |
parent | Disable Poetry package mode (diff) | |
parent | Display word on hangman timeout (#1561) (diff) |
Merge branch 'main' into br/gh1560br/gh1560
Diffstat (limited to 'bot/exts/fun/hangman.py')
-rw-r--r-- | bot/exts/fun/hangman.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/bot/exts/fun/hangman.py b/bot/exts/fun/hangman.py index 869e0644..256ff901 100644 --- a/bot/exts/fun/hangman.py +++ b/bot/exts/fun/hangman.py @@ -115,11 +115,11 @@ class Hangman(commands.Cog): ) except TimeoutError: timeout_embed = Embed( - title=choice(NEGATIVE_REPLIES), - description="Looks like the bot timed out! You must send a letter within 60 seconds.", + title="You lost", + description=f"Time's up! The correct word was `{word}`.", color=Colours.soft_red, ) - await original_message.edit(embed=timeout_embed) + await ctx.send(embed=timeout_embed) return # If the user enters a capital letter as their guess, it is automatically converted to a lowercase letter |