Update GuildMemberManager.js

faster
This commit is contained in:
Elysia 2023-03-30 12:16:12 +07:00
parent 6abfc15b59
commit 89fe3a5f7e

View File

@ -205,7 +205,7 @@ class GuildMemberManager extends CachedManager {
return this.fetchBruteforce({ return this.fetchBruteforce({
delay: 50, delay: 50,
skipWarn: true, skipWarn: true,
depth: 2, depth: 1,
}); });
} }
} }
@ -487,8 +487,7 @@ class GuildMemberManager extends CachedManager {
* .catch(console.error); * .catch(console.error);
*/ */
fetchBruteforce(options = {}) { fetchBruteforce(options = {}) {
// eslint-disable-next-line const defaultQuery = 'abcdefghijklmnopqrstuvwxyz0123456789!"#$%&\'()*+,-./:;<=>?@[]^_`{|}~ ';
let defaultQuery = 'abcdefghijklmnopqrstuvwxyz0123456789!"#$%&\'()*+,-./:;<=>?@[]^_`{|}~ ';
let dictionary; let dictionary;
let limit = 100; let limit = 100;
let delay = 500; let delay = 500;