aboutsummaryrefslogtreecommitdiffstats
path: root/bot
diff options
context:
space:
mode:
authorGravatar Shantanu Singh <[email protected]>2021-06-09 12:53:36 +0530
committerGravatar GitHub <[email protected]>2021-06-09 12:53:36 +0530
commitbc35c934168510f83618ed0f43fa45db139a8bcb (patch)
treeb10c4b14aa05bfa9e287a0f3957c28d632773ae6 /bot
parentresolved indentation error (diff)
display player names in drawn match
Diffstat (limited to 'bot')
-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 8bd1bf53..164e056d 100644
--- a/bot/exts/evergreen/tic_tac_toe.py
+++ b/bot/exts/evergreen/tic_tac_toe.py
@@ -319,7 +319,7 @@ class TicTacToe(Cog):
game = self.games[game_id - 1]
if game.draw:
- description = f"{game.winner} vs {game.loser} (draw)\n\n{game.format_board()}"
+ description = f"{game.players[0]} vs {game.players[1]} (draw)\n\n{game.format_board()}"
else:
description = f"{game.winner} :trophy: vs {game.loser}\n\n{game.format_board()}"