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