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