Answers for "How to get a username from ID discord.js"

10

discord.js get user by id

client.users.cache.find(user => user.id === 'USER-ID')
Posted by: Guest on October-20-2020
0

discord js v12 get user tag with id

const User = client.users.cache.get("UserID"); 
//put id instead of "UserID"
Posted by: Guest on December-15-2020

Code answers related to "How to get a username from ID discord.js"

Code answers related to "Javascript"

Browse Popular Code Answers by Language