This commit is contained in:
Dragon Fire
2020-04-09 18:26:47 -04:00
parent 5dfce030d1
commit ca037bbbc0
+3 -1
View File
@@ -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;
}