List member (Question resolved)
How do I get a list of members in a guild? I need the names of the participants, I would like to get everyone.
discord v 14
53 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 staffMy code:
What i want:
Do you wanna have an option like that or do you just want all the members in the guild?
I need all members
To add in choice
Unknown User•12mo ago
Message Not Public
Sign In & Join Server To View
I don't use SlashBuilder
Unknown User•12mo ago
Message Not Public
Sign In & Join Server To View
I have
You don't use the SlashCommandBuilder or slash commands themselves?
I use Rest
Unknown User•12mo ago
Message Not Public
Sign In & Join Server To View
I found these options on the forums, and I used them and they work.
Unknown User•12mo ago
Message Not Public
Sign In & Join Server To View
That's not valid JavaScript though
Unknown User•12mo ago
Message Not Public
Sign In & Join Server To View
Ay, no forum. In YouTube:
https://youtu.be/2CsSJshmadg?si=w4KvIE0ZqRFHk7G9
Under Ctrl
YouTube
Register and Run Slash Commands (Discord.js v14)
Register and Run Slash Commands (Discord.js v14)
🌐 Important links:
Discord.js series playlist: https://www.youtube.com/playlist?list=PLpmb-7WxPhe0ZVpH9pxT5MtC4heqej8Es
Discord.js official website: https://discord.js.org
Discord Commands Structure: https://discord.com/developers/docs/interactions/application-commands#slash-commands (Options & ...
But new Rest it's working
Unknown User•12mo ago
Message Not Public
Sign In & Join Server To View
I know JavaScript but I'm studying this library and I don't understand everything
Unknown User•12mo ago
Message Not Public
Sign In & Join Server To View
^ That's the best and most up-to-date resource for you
Not everything worked for me as in the guide
Unknown User•12mo ago
Message Not Public
Sign In & Join Server To View
Slash command creator not working in guide
Unknown User•12mo ago
Message Not Public
Sign In & Join Server To View
I don't understand your question
Unknown User•12mo ago
Message Not Public
Sign In & Join Server To View
Command handler
Unknown User•12mo ago
Message Not Public
Sign In & Join Server To View
The tutorial shows that the command handler searches only for a folder with a specific name, I would like to remake this handler for myself. But I don't understand how it works.
Unknown User•12mo ago
Message Not Public
Sign In & Join Server To View
Yes
Unknown User•12mo ago
Message Not Public
Sign In & Join Server To View
This I don't understand
Unknown User•12mo ago
Message Not Public
Sign In & Join Server To View
I completed the entire Javascript tutorial learn.javascript.com
Unknown User•12mo ago
Message Not Public
Sign In & Join Server To View
._.
Unknown User•12mo ago
Message Not Public
Sign In & Join Server To View
If I didn’t understand something, I always searched on the Internet or asked a friend
Ok
Unknown User•12mo ago
Message Not Public
Sign In & Join Server To View
.
They didn't answer my question
My quietion:
How do I get a list of members in a guild? I need the names of the participants, I would like to get everyone
await the Promise it returns, and then it'll be a collection of all the members in the guild, map over it to get their usernames or whatever
thx
I undestand
and you thank you @Alexcitten
Unknown User•12mo ago
Message Not Public
Sign In & Join Server To View
could have connect it into my code
.
Unknown User•12mo ago
Message Not Public
Sign In & Join Server To View
Okay, that's your opinion. The matter is closed.
Unknown User•12mo ago
Message Not Public
Sign In & Join Server To View