guild.members giving only 1 member and the bot itself

Guild.members gives only one member and the bot itself and when another member sends message and api call is made again to fetch members this new member is discovered.
3 Replies
d.js toolkit
d.js toolkit4mo ago
- What's your exact discord.js npm list discord.js and node node -v version? - Not a discord.js issue? Check out #other-js-ts. - Consider reading #how-to-get-help to improve your question! - Explain what exactly your issue is. - Post the full error stack trace, not just the top part! - Show your code! - Issue solved? Press the button!
Kinect3000
Kinect30004mo ago
That’s normal. Certain intents will allow ur bot to receive certain "active" members upon ready And certain events will provide enough data to cache a member
Casper
CasperOP4mo ago
which inents to add and what permissions to give to the discord bot to be able to fetch all members
Want results from more Discord servers?
Add your server