Answers for "discord.js get username of mentioned user"

0

discord.js get first mention

let member = msg.members.mentions.first();
if(msg.content === 'name'){
	msg.channel.send(member)
}
Posted by: Guest on August-26-2020
6

discord.js get username

message.author.username
Posted by: Guest on October-03-2020
0

discord.js get user by username

client.users.cache.find(user => user.username == 'USERMAME')
Posted by: Guest on July-25-2021

Code answers related to "discord.js get username of mentioned user"

Code answers related to "Javascript"

Browse Popular Code Answers by Language