Discord.js User/Client Support (14.19)

Does Discord.js support getting information from the User/Client API? I'm building a Discord bot dashboard, and I'm curious if I can use Discord.js to fetch the servers that the user is in. Obviously, using a user authentication token. Is this possible?
3 Replies
d.js toolkit
d.js toolkit6mo 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! - Marked as resolved by OP
TÆMBØ
TÆMBØ6mo ago
discord.js does not support OAuth2, no (apart from this one method I know of). @discordjs/rest and/or @discordjs/core do however
maybeizen
maybeizenOP6mo ago
Thank you!

Did you find this page helpful?