SupportBot 6.0 BETA 1

This commit is contained in:
ItzEmerald committed 2020-07-15 18:42:07 +01:00
1 parent cc5a6b7317
commit 4f05ad6546
9 files changed
+43 -48

No files matched your search

+2 -2
View File
@@ -22,7 +22,7 @@ module.exports = {
.setDescription(`${supportbot.IncorrectPerms}\n\nRole Required: \`${supportbot.Staff}\` or \`${supportbot.Admin}\``)
.setColor(supportbot.WarningColour)
if (!message.member.roles.cache.has(SupportStaff.id || Admins.id)) {
if (message.member.roles.cache.has(SupportStaff.id) || message.member.roles.cache.has(Admins.id)) {
if (!message.channel.name.startsWith( `${supportbot.TicketChannel}-` )) {
const Exists = new Discord.MessageEmbed()
.setTitle("No Ticket Found!")
@@ -59,4 +59,4 @@ module.exports = {
}
}
};
};