From 79e984b9cee1e2e42e95835523cbb38d25a4b863 Mon Sep 17 00:00:00 2001 From: Daniel Odendahl Jr Date: Mon, 6 Nov 2017 22:40:20 +0000 Subject: [PATCH] Beep --- commands/games/cards-against-humanity.js | 1 + 1 file changed, 1 insertion(+) diff --git a/commands/games/cards-against-humanity.js b/commands/games/cards-against-humanity.js index 1882fdf4..c5da8b01 100644 --- a/commands/games/cards-against-humanity.js +++ b/commands/games/cards-against-humanity.js @@ -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) {