From 158601daf61b94ac61d85c068e9d3050ceb37372 Mon Sep 17 00:00:00 2001 From: Dragon Fire Date: Sun, 2 May 2021 15:31:13 -0400 Subject: [PATCH] Fix double bug --- util/Util.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/util/Util.js b/util/Util.js index e9007531..f6ab991e 100644 --- a/util/Util.js +++ b/util/Util.js @@ -342,8 +342,8 @@ module.exports = class Util { return new Promise(res => { collector.once('end', verify => { verify.set(msg.id, msg); - if (verify.size < min) return res(false); - return res(verify.map(player => player.author.id)); + if (joined.length < min) return res(false); + return res(joined); }); }); }