Wait for 60 seconds in awaitPlayers

This commit is contained in:
Dragon Fire
2020-06-09 10:17:48 -04:00
parent 362e55a370
commit a7400deed8
+1 -1
View File
@@ -193,7 +193,7 @@ module.exports = class Util {
res.react(SUCCESS_EMOJI_ID || '✅').catch(() => null);
return true;
};
const verify = await msg.channel.awaitMessages(filter, { max: max - 1, time: 30000 });
const verify = await msg.channel.awaitMessages(filter, { max: max - 1, time: 60000 });
verify.set(msg.id, msg);
if (verify.size < min) return false;
return verify.map(player => player.author.id);