This commit is contained in:
Daniel Odendahl Jr
2017-11-06 22:40:20 +00:00
parent 22327179b3
commit 79e984b9ce
+1
View File
@@ -34,6 +34,7 @@ module.exports = class CardsAgainstHumanityCommand extends Command {
try {
await msg.say('You will need at least 2 more players, at maximum 20. To join, type `join game`.');
const awaitedPlayers = await awaitPlayers(msg, 20, 3);
if (!awaitedPlayers) return msg.say('Game could not be started...');
const players = new Map();
let i = 1;
for (const player of awaitedPlayers) {