Using <GuildsAPI>.getMembers() to fetch specific members.
Can multiple users be fetched using this method or do I have to fetch all the users seperately using <GuildsAPI>.getMember() instead?
Using
+-- @discordjs/[email protected]
+-- @discordjs/[email protected]
+-- @discordjs/[email protected]
3 Replies
- 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!
- ✅
Marked as resolved by OPThis does not work with IDs though, am I correct?
Alright thank you, will take a look. 👍
if a userID is specified that is not a member of the guild, I noticed that no information will be returned, is the notFound: property used to identify the IDs that did not return any data?
Or should i just check the returned IDs in the response and filter them instead?
Thank for your help!