Answers for "get user by id discord.js"

10

discord.js get user by id

client.users.cache.find(user => user.id === 'USER-ID')
Posted by: Guest on October-20-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
0

check user by id discord js

if(!message.author.id ==`329023088517971969` || !message.member.hasPermission(['MANAGE_GUILD'])) return message.channel.send(`You don't have the permissions to do this!`)
<code here>
Posted by: Guest on June-04-2021

Code answers related to "get user by id discord.js"

Code answers related to "Javascript"

Browse Popular Code Answers by Language