mirror of
https://github.com/arthur-pbty/xiao.git
synced 2026-06-24 10:25:11 +02:00
Fix
This commit is contained in:
@@ -62,7 +62,7 @@ module.exports = class NimCommand extends Command {
|
|||||||
const user = userTurn ? msg.author : opponent;
|
const user = userTurn ? msg.author : opponent;
|
||||||
if (!userTurn && opponent.bot) {
|
if (!userTurn && opponent.bot) {
|
||||||
const turn = this.computerTurn(board);
|
const turn = this.computerTurn(board);
|
||||||
await msg.say(`For my turn, I remove **${turn[1]}** ${objectEmoji} from **row ${turn[0]}**.`);
|
await msg.say(`For my turn, I remove **${turn[1]}** ${objectEmoji} from **row ${turn[0] + 1}**.`);
|
||||||
} else {
|
} else {
|
||||||
await msg.say(stripIndents`
|
await msg.say(stripIndents`
|
||||||
${user}, from which row do you want to remove from? Type \`end\` to forefeit.
|
${user}, from which row do you want to remove from? Type \`end\` to forefeit.
|
||||||
|
|||||||
Reference in New Issue
Block a user