How to get a member's discord id using javascript?
Hi, I have a discord server, i used tatsu bot to allow points to members of my server based on how active they are. For that tatsu provides an api : https://dev.tatsu.gg/api/guilds#get-guild-member-points. But for that we need to get the member's discord id. How can i get the discord id of a member using javascript??
6 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!<User>.id
or <GuildMember>.id
Could you please provide any code reference?
Please dont crosspost
interaction.member.id
or message.member.id
. Depends on which member do you want.<GuildMember>.id
/<user>.id