<Role>.permissions.has(PERMISSION_RESOLVABLE)
https://discord.js.org/#/docs/main/stable/class/Permissions?scrollTo=has
#Can i add a command that can only be used by a specific ROLE in my server?
4 messages · Page 1 of 1 (latest)
.hasPermission() doesn't exist o,o
It did in v12 which is likely what they're using
Sidenote, the command'll still run, but you can use this for logic to deny a member from using it. They'll still see the command however