get user by name discordjs 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