diff --git a/src/structure/components/inhibitors/Permissions.js b/src/structure/components/inhibitors/Permissions.js index 93b5a4b..8415239 100644 --- a/src/structure/components/inhibitors/Permissions.js +++ b/src/structure/components/inhibitors/Permissions.js @@ -17,8 +17,12 @@ class Permissions extends Inhibitor { async execute(invoker, command, override = null) { + const userWrapper = await invoker.userWrapper(); + if (userWrapper.developer) return super._succeed(); + const { guild, member } = invoker; const { permissions: { type } } = await guild.settings(); + const permissions = override ?? command.memberPermissions; const memberPerms = invoker.channel.permissionsFor(member);