From c3277cd6760b0f8666f1662fa3ec4c742833798e Mon Sep 17 00:00:00 2001 From: lumin <71011125+l-melon@users.noreply.github.com> Date: Mon, 8 Jul 2024 04:09:59 +0900 Subject: Display word on hangman timeout (#1561) --- bot/exts/fun/hangman.py | 6 +++--- 1 file 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 -- cgit v1.2.3