mirror of
https://github.com/arthur-pbty/xiao.git
synced 2026-06-14 08:08:34 +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.`);
|
await msg.say(`${msg.author}, pick a number from 1 to 10.`);
|
||||||
const userTurn = true;
|
let userTurn = true;
|
||||||
let player1Pick;
|
let player1Pick;
|
||||||
const filter = res => {
|
const filter = res => {
|
||||||
if (res.author.id !== (userTurn ? msg.author.id : opponent.id)) return false;
|
if (res.author.id !== (userTurn ? msg.author.id : opponent.id)) return false;
|
||||||
|
|||||||
Reference in New Issue
Block a user