mirror of
https://github.com/arthur-pbty/xiao.git
synced 2026-06-03 23:36:43 +02:00
Fix
This commit is contained in:
@@ -37,7 +37,7 @@ module.exports = class PickANumberCommand extends Command {
|
||||
}
|
||||
}
|
||||
await msg.say(`${msg.author}, pick a number from 1 to 10.`);
|
||||
const userTurn = true;
|
||||
let userTurn = true;
|
||||
let player1Pick;
|
||||
const filter = res => {
|
||||
if (res.author.id !== (userTurn ? msg.author.id : opponent.id)) return false;
|
||||
|
||||
Reference in New Issue
Block a user