-
-
Notifications
You must be signed in to change notification settings - Fork 4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Guild#fetchMembers never resolves. #3848
Comments
it can be related to recent discord intents stuff |
"At all" is not exact. They plan to remove that for bots that are in 100 guilds or more and are not "verified" to have access to fetching members. |
well, probably getting "verified" state will be only for huge trusted bots and smaller ones will not even have chance to get that |
The huge bots are already beyond 100 guilds, so that statement has no corelation to whether bot will be verified or not. Discord claims you need to have verified bot to have access after reaching 100 guilds, but does not say that your bot has to have 10000 guilds for verification being considered.
Well, what if someone is making bot for single guild? then they don't have limited access to fetching members.
I don't remember specifics out of my head now, but it should be in this pull request to discord-api-docs |
@Roki100 they've said that they'll whitelist any bot that applies and demonstrates that it uses the functionality |
From what I've gathered, this should be marked as a |
the devs haven't responded, but it seems to work for me on v12 ( |
This is still working fine for me on
If it still does not work attach a handler to client.on('raw', packet => {
if (packet.t === 'GUILD_MEMBERS_CHUNK') {
console.log(packet.t, packet.d.guild_id, packet.d.members.length);
}
}); If they do, there likely is something wrong on our end, not sure how much could be done about that though. re: Intents Just to clarify that: Also applying for privileged intents is supposedly going to be somewhat reasonable and not restricted to just huge and "trusted" bots. |
I have not disabled anything. I ran yarn init -y
yarn add discord.js and copy pasta'd the code I sent above (along with the |
Going to close as we no longer support or fix version 11, feel free to re-open or link to this in a new issue if you can reproduce it on the current stable version ( |
Sounds good. v12 is working for me fine. Thanks :D |
Please describe the problem you are having in as much detail as possible:
Calling .fetchMembers() never resolves. I looked at #1113 but this issue still seems to be present here.
Include a reproducible code sample here, if possible:
Further details:
^11.5.1
The text was updated successfully, but these errors were encountered: