From a6bcd09015fc37464aec953f1c385f061cebe351 Mon Sep 17 00:00:00 2001 From: vivax3794 <51753506+vivax3794@users.noreply.github.com> Date: Tue, 13 Aug 2019 05:24:58 +0200 Subject: changed from using `format_discord` to use the content of the last message. --- bot/seasons/evergreen/minesweeper.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'bot') 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] -- cgit v1.2.3