This commit is contained in:
Dragon Fire
2021-01-23 16:21:14 -05:00
parent 27c75358df
commit 332ba019e0
+1
View File
@@ -65,6 +65,7 @@ module.exports = class ChessCommand extends Command {
const user = game.exportJson().turn === 'black' ? opponent : msg.author;
const gameState = game.exportJson();
if (user.bot) {
prevGameState = gameState;
game.aiMove(3);
} else {
await msg.say(stripIndents`