Trying to get users displayName, returning unknown user
Sorry if this seems obvious - still finding my feet with d.js. I want to display a leaderboard of the top 10 users within logging.json, however, when the command is run all users display as 'Unknown user' apart from the author (check attached)
2 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.These members are not in the cache, you'll need to fetch them