Files
SupportBot/test
T
2020-06-24 09:50:14 +01:00

8 lines
493 B
Plaintext

const rolerequired = new Discord.MessageEmbed()
.setTitle("SupportBot Error!")
.setDescription(`:x: **Error!** Incorrect Permissions, You cannot execute this command as you do not have the required role.\n\nRole Required: \`${supportbot.StaffRole}\`\n`)
.setColor(supportbot.ErrorColour);
if (supportbot.ShowErrorCodes === "true") {
rolerequired.addField("Error Code", "SB-02")
}