diff options
| author | 2024-07-08 04:09:59 +0900 | |
|---|---|---|
| committer | 2024-07-07 12:09:59 -0700 | |
| commit | c3277cd6760b0f8666f1662fa3ec4c742833798e (patch) | |
| tree | 28c57ae33894b3578cb0d8b9c0e07bd54b7f138a | |
| parent | Bump certifi from 2024.2.2 to 2024.7.4 (#1570) (diff) | |
Display word on hangman timeout (#1561)
Diffstat (limited to '')
| -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 | 
