Make a discord.js command accessible only to specific roles code example
Example: if member has role discord.js
let allowedRole = message.guild.roles.find("name", "rolename");
if (message.member.roles.has(allowedRole.id) {
// allowed access to command
} else {
// not allowed access
})