Fix AI Play not showing up

This commit is contained in:
Dragon Fire
2021-01-19 06:33:26 -05:00
parent b16b0190d1
commit 1d53791c37
2 changed files with 3 additions and 2 deletions
+2 -1
View File
@@ -122,7 +122,8 @@ module.exports = class ConnectFourCommand extends Command {
});
if (!turn.size) {
await msg.say('Sorry, time is up! I\'ll pick their move for them.');
AIEngine.playAI('hard');
i = AIEngine.playAI('hard');
lastMove = i + 1;
userTurn = !userTurn;
continue;
}
+1 -1
View File
@@ -1,6 +1,6 @@
{
"name": "xiao",
"version": "126.6.7",
"version": "126.6.8",
"description": "Your personal server companion.",
"main": "Xiao.js",
"scripts": {