This commit is contained in:
Dragon Fire
2020-06-06 22:08:23 -04:00
parent ed835bd586
commit c647f4d8ff
+1 -1
View File
@@ -72,7 +72,7 @@ module.exports = class BingoCommand extends Command {
return true; return true;
}; };
const bingo = await msg.channel.awaitMessages(filter, { max: 1, time: 10000 }); const bingo = await msg.channel.awaitMessages(filter, { max: 1, time: 10000 });
if (!bingo) continue; if (!bingo.size) continue;
winner = bingo.first().author; winner = bingo.first().author;
} }
this.client.games.delete(msg.channel.id); this.client.games.delete(msg.channel.id);