From c647f4d8ff8764684861eb5f93583cd790e37e7d Mon Sep 17 00:00:00 2001 From: Dragon Fire Date: Sat, 6 Jun 2020 22:08:23 -0400 Subject: [PATCH] Fix --- commands/games-mp/bingo.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/commands/games-mp/bingo.js b/commands/games-mp/bingo.js index 516ceed7..bc37e2e2 100644 --- a/commands/games-mp/bingo.js +++ b/commands/games-mp/bingo.js @@ -72,7 +72,7 @@ module.exports = class BingoCommand extends Command { return true; }; const bingo = await msg.channel.awaitMessages(filter, { max: 1, time: 10000 }); - if (!bingo) continue; + if (!bingo.size) continue; winner = bingo.first().author; } this.client.games.delete(msg.channel.id);