From ca037bbbc0ef609709c97fbf3b422ee3d8f12161 Mon Sep 17 00:00:00 2001 From: Dragon Fire Date: Thu, 9 Apr 2020 18:26:47 -0400 Subject: [PATCH] Fix --- commands/games-mp/dots-and-boxes.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/commands/games-mp/dots-and-boxes.js b/commands/games-mp/dots-and-boxes.js index 86424cd2..af6794ea 100644 --- a/commands/games-mp/dots-and-boxes.js +++ b/commands/games-mp/dots-and-boxes.js @@ -106,7 +106,9 @@ module.exports = class DotsAndBoxesCommand extends Command { if (userTurn) userOwned.push(newSquare); else oppoOwned.push(newSquare); } - await msg.say(`${user}, great job! Keep going until you can\'t make any more!`); + if (taken.length < 24) { + await msg.say(`${user}, great job! Keep going until you can\'t make any more!`); + } } else { userTurn = !userTurn; }