From 501b8c97a7c855f2333c6b6e148a18bbe93af54f Mon Sep 17 00:00:00 2001 From: Dragon Fire Date: Sun, 24 Jan 2021 10:17:40 -0500 Subject: [PATCH] Show final board --- commands/games-mp/domineering.js | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/commands/games-mp/domineering.js b/commands/games-mp/domineering.js index eb8492d2..a2651bad 100644 --- a/commands/games-mp/domineering.js +++ b/commands/games-mp/domineering.js @@ -107,7 +107,11 @@ module.exports = class DomineeringCommand extends Command { } this.client.games.delete(msg.channel.id); if (winner === 'time') return msg.say('Game ended due to inactivity.'); - return msg.say(`Congrats, ${winner}! Your opponent has no possible moves left!`); + return msg.say(stripIndents` + Congrats, ${winner}! Your opponent has no possible moves left! + + ${this.displayBoard(board, userEmoji, oppoEmoji)} + `); } catch (err) { this.client.games.delete(msg.channel.id); throw err;