discord.js get username from user ID code example
Example 1: discord.js get user by id
client.users.cache.find(user => user.id === 'USER-ID')
Example 2: discord.js get username
message.author.username
client.users.cache.find(user => user.id === 'USER-ID')
message.author.username