discord get user id from @mention code example
Example: discord.js get first mention
let member = msg.members.mentions.first();
if(msg.content === 'name'){
msg.channel.send(member)
}
let member = msg.members.mentions.first();
if(msg.content === 'name'){
msg.channel.send(member)
}