mirror of
https://github.com/arthur-pbty/xiao.git
synced 2026-06-04 15:56:52 +02:00
Fix AI Play not showing up
This commit is contained in:
@@ -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
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "xiao",
|
||||
"version": "126.6.7",
|
||||
"version": "126.6.8",
|
||||
"description": "Your personal server companion.",
|
||||
"main": "Xiao.js",
|
||||
"scripts": {
|
||||
|
||||
Reference in New Issue
Block a user