user data
can you get users data like their username and using their userid if they don't share a server with the bot?
3 Replies
• What's your exact discord.js
npm list discord.js
and node node -v
version?
• Post the full error stack trace, not just the top part!
• Show your code!
• Explain what exactly your issue is.
• Not a discord.js issue? Check out #useful-servers.and how do you do this ^
client.users.fetch('userid')
returns a promise.