mirror of
https://github.com/arthur-pbty/xiao.git
synced 2026-06-03 23:36:43 +02:00
Fix
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user