mirror of
https://github.com/arthur-pbty/xiao.git
synced 2026-06-26 06:42:50 +02:00
Fixes
This commit is contained in:
@@ -77,6 +77,7 @@ module.exports = class JengaCommand extends Command {
|
|||||||
} else {
|
} else {
|
||||||
await msg.say('Sorry, time is up!');
|
await msg.say('Sorry, time is up!');
|
||||||
lastTurnTimeout = true;
|
lastTurnTimeout = true;
|
||||||
|
userTurn = !userTurn;
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -77,6 +77,7 @@ module.exports = class NimCommand extends Command {
|
|||||||
} else {
|
} else {
|
||||||
await msg.say('Sorry, time is up!');
|
await msg.say('Sorry, time is up!');
|
||||||
lastTurnTimeout = true;
|
lastTurnTimeout = true;
|
||||||
|
userTurn = !userTurn;
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -88,7 +89,7 @@ module.exports = class NimCommand extends Command {
|
|||||||
}
|
}
|
||||||
const row = board[picked - 1];
|
const row = board[picked - 1];
|
||||||
await msg.say(stripIndents`
|
await msg.say(stripIndents`
|
||||||
How many ${objectEmoji} do you want to remove from row ${picked}? Type \`end\` to forefeit.
|
${user}, how many ${objectEmoji} do you want to remove from row ${picked}? Type \`end\` to forefeit.
|
||||||
If you want to go back, type \`back\`.
|
If you want to go back, type \`back\`.
|
||||||
|
|
||||||
${nums[picked - 1]}${objectEmoji.repeat(row)}
|
${nums[picked - 1]}${objectEmoji.repeat(row)}
|
||||||
@@ -112,6 +113,7 @@ module.exports = class NimCommand extends Command {
|
|||||||
} else {
|
} else {
|
||||||
await msg.say('Sorry, time is up!');
|
await msg.say('Sorry, time is up!');
|
||||||
lastTurnTimeout = true;
|
lastTurnTimeout = true;
|
||||||
|
userTurn = !userTurn;
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user