-
Notifications
You must be signed in to change notification settings - Fork 138
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.members.fetch() not responds #38
Comments
if you are not having the rights to manage roles, or manage users, it means opcode 8 is not working |
Sooo can you send me a code which actually works? :D |
const sleep = (sec) => new Promise((r) => setTimeout(r, sec * 1000)); // delay function
await guild.members.fetch()
sleep(2) // I think 2 seconds is enough for a 1000 member server
const members = guild.members.cache |
still not works. the code stucks on |
I'm working on a fix, you can wait for the next version |
bug fixed, please update to version 1.3.9 |
I could manage to fetch the guild object, but the
members
part keeps failing.edit: After a long time it threw an error
Error [GUILD_MEMBERS_TIMEOUT]: Members didn't arrive in time.
The text was updated successfully, but these errors were encountered: