diff options
author | 2019-08-13 05:24:58 +0200 | |
---|---|---|
committer | 2019-08-13 05:24:58 +0200 | |
commit | a6bcd09015fc37464aec953f1c385f061cebe351 (patch) | |
tree | 02749281cd88a9ebc6b13cf62504115c632bcc74 | |
parent | Merge remote-tracking branch 'origin/minesweeper' into minesweeper (diff) |
changed from using `format_discord` to use the content of the last message.
-rw-r--r-- | bot/seasons/evergreen/minesweeper.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bot/seasons/evergreen/minesweeper.py b/bot/seasons/evergreen/minesweeper.py index e0cb9b13..19486033 100644 --- a/bot/seasons/evergreen/minesweeper.py +++ b/bot/seasons/evergreen/minesweeper.py @@ -229,7 +229,7 @@ class Minesweeper(commands.Cog): game = self.games[ctx.author.id] game.revealed = game.board await self.update_boards(ctx) - new_msg = f":no_entry: Game canceled :no_entry:\n{self.format_for_discord(game.revealed)}" + new_msg = f":no_entry: Game canceled :no_entry:\n{game.dm_msg.content}" await game.dm_msg.edit(content=new_msg) await game.chat_msg.edit(content=new_msg) del self.games[ctx.author.id] |