feat: Better GuildMemberManager#fetchBruteforce
permutations tried with Midjourney server, was able to scrape over 60k members in 15 minutes (and more) Co-Authored-By: MrBoombastic <contact@amroz.xyz>
This commit is contained in:
@@ -128,11 +128,11 @@ Suppose you're in a guild with 1000 members and want to fetch the member list ba
|
||||
____________________________________
|
||||
## Search for Members by Query
|
||||
#### Usage
|
||||
> Dictionary of query parameters: [Here](https://github.com/Merubokkusu/Discord-S.C.U.M/blob/master/examples/searchGuildMembers.py#L37)
|
||||
1) run the function:
|
||||
```js
|
||||
guild.members.fetchBruteforce({
|
||||
delay: 500,
|
||||
depth: 1, // ['a', 'b', 'c', 'd', ...] or ['aa', 'ab', 'ac', 'ad', ...] if depth is 2, ...
|
||||
})
|
||||
```
|
||||
A wait time of at least 0.5 is needed to prevent the brute forcer from rate limiting too often. In the event that the brute forcer does get rate limited, some time will be lost reconnecting.
|
||||
|
Reference in New Issue
Block a user