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