This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| exports.run = async (client, message, args) => { | |
| if(!message.member.roles.cache.some(role =>["Ranking Permissions"].includes(role.name))){ | |
| return message.channel.send({embed: { | |
| color: 16733013, | |
| description: "You need the `Ranking Permissions` role to run this command.", | |
| author: { | |
| name: message.author.tag, | |
| icon_url: message.author.displayAvatarURL() | |
| } | |
| } |