mirror of
https://github.com/arthur-pbty/xiao.git
synced 2026-06-13 08:19:08 +02:00
Don't even prompt people to join game if expecting only 1
This commit is contained in:
@@ -90,6 +90,7 @@ module.exports = class BingoCommand extends Command {
|
||||
}
|
||||
|
||||
async awaitPlayers(msg, players) {
|
||||
if (players === 1) return [msg.author.id];
|
||||
await msg.say(`You will need at least 1 more player (at max ${players - 1}). To join, type \`join game\`.`);
|
||||
const joined = [];
|
||||
joined.push(msg.author.id);
|
||||
|
||||
Reference in New Issue
Block a user