discord.js get user by id
client.users.cache.find(user => user.id === 'USER-ID')
discord.js get user by id
client.users.cache.find(user => user.id === 'USER-ID')
discord.js get user by username
client.users.cache.find(user => user.username == 'USERMAME')
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>
Copyright © 2021 Codeinu
Forgot your account's password or having trouble logging into your Account? Don't worry, we'll help you to get back your account. Enter your email address and we'll send you a recovery link to reset your password. If you are experiencing problems resetting your password contact us