aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar shantanusingh1069 <[email protected]>2021-06-08 13:25:44 +0530
committerGravatar shantanusingh1069 <[email protected]>2021-06-08 13:25:44 +0530
commit70be524b713c8e6b2ac945c209ea915241faa83e (patch)
tree225b0cf63c650ab1e479473172730741d6b4a738
parentMerge pull request #595 from Shivansh-007/fix/ttt (diff)
embed displays draw condition on show command
-rw-r--r--bot/exts/evergreen/tic_tac_toe.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/bot/exts/evergreen/tic_tac_toe.py b/bot/exts/evergreen/tic_tac_toe.py
index 48e8e142..37b53304 100644
--- a/bot/exts/evergreen/tic_tac_toe.py
+++ b/bot/exts/evergreen/tic_tac_toe.py
@@ -320,7 +320,7 @@ class TicTacToe(Cog):
embed = discord.Embed(
title=f"Match #{game_id} Game Board",
- description=f"{game.winner} :trophy: vs {game.loser}\n\n{game.format_board()}"
+ description=f"{game.winner} vs {game.loser} (draw)\n\n{game.format_board()}" if game.draw else f"{game.winner} :trophy: vs {game.loser}\n\n{game.format_board()}"
)
await ctx.send(embed=embed)