Don't even prompt people to join game if expecting only 1

This commit is contained in:
Dragon Fire
2020-06-09 09:49:08 -04:00
parent 031e1659d1
commit fd5247fd72
+1
View File
@@ -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);