How to get a username from ID discord.js code example
Example 1: discord.js get user by id
client.users.cache.find(user => user.id === 'USER-ID')
Example 2: discord js v12 get user tag with id
const User = client.users.cache.get("UserID");
//put id instead of "UserID"