Fixed perms bug

This commit is contained in:
Noah committed 2021-12-18 19:24:39 -06:00
1 parent e83ca8cb2b
commit 96ded77bec
2 files changed
+2 -2

No files matched your search

+1 -1
View File
@@ -42,7 +42,7 @@ module.exports = new Command({
.setColor(supportbot.WarningColour);
if (
!interaction.member.roles.cache.has(SupportStaff.id) ||
!interaction.member.roles.cache.has(SupportStaff.id) &&
!interaction.member.roles.cache.has(Admin.id)
)
return interaction.reply({ embeds: [NoPerms] });
+1 -1
View File
@@ -48,7 +48,7 @@ module.exports = new Command({
.setColor(supportbot.WarningColour);
if (
!interaction.member.roles.cache.has(Staff.id) ||
!interaction.member.roles.cache.has(Staff.id) &&
!interaction.member.roles.cache.has(Admin.id)
)
return interaction.reply({ embeds: [NoPerms] });