This commit is contained in:
Dragon Fire
2024-03-23 23:31:12 -04:00
parent 4457ade707
commit 1c90be1fb7
+1 -1
View File
@@ -48,7 +48,7 @@ module.exports = class TicTacToeCommand extends Command {
let choice;
if (opponent.bot && !userTurn) {
// eslint-disable-next-line new-cap
choice = ComputerMove(this.convertBoard(sides), { aiPlayer: 'o', huPlayer: 'x' }, 'Hard');
choice = ComputerMove(this.convertBoard(sides), { aiPlayer: 'O', huPlayer: 'X' }, 'Hard');
} else {
await msg.say(stripIndents`
${user}, which side do you pick? Type \`end\` to forfeit.