Close Ticket

This commit is contained in:
ItzEmerald committed 2020-06-24 09:50:14 +01:00
1 parent ff7ed49905
commit cf99209887
3 files changed
+33 -5

No files matched your search

+8
View File
@@ -0,0 +1,8 @@
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")
}