mirror of
https://github.com/arthur-pbty/xiao.git
synced 2026-06-15 00:12:38 +02:00
Fix for awaitMessages, Util
This commit is contained in:
@@ -71,7 +71,8 @@ module.exports = class Game {
|
||||
reactIfAble(res, res.author, SUCCESS_EMOJI_ID, '✅');
|
||||
return true;
|
||||
};
|
||||
const votes = await this.channel.awaitMessages(filter, {
|
||||
const votes = await this.channel.awaitMessages({
|
||||
filter,
|
||||
max: this.players.size,
|
||||
time: 90000
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user