fix adduser

This commit is contained in:
doge authored and GitHub committed 2020-07-15 11:37:17 -04:00
1 parent cc5a6b7317
commit c752a07ad0
1 file changed
+1 -1
+1 -1
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!")