aboutsummaryrefslogtreecommitdiff
path: root/src/inhibitors/command/guildDisabledCommand.ts
diff options
context:
space:
mode:
Diffstat (limited to 'src/inhibitors/command/guildDisabledCommand.ts')
-rw-r--r--src/inhibitors/command/guildDisabledCommand.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/inhibitors/command/guildDisabledCommand.ts b/src/inhibitors/command/guildDisabledCommand.ts
index a97f5cc..7d63093 100644
--- a/src/inhibitors/command/guildDisabledCommand.ts
+++ b/src/inhibitors/command/guildDisabledCommand.ts
@@ -10,7 +10,7 @@ export default class DisabledGuildCommandInhibitor extends BushInhibitor {
});
}
- public override async exec(message: CommandMessage | SlashMessage, command: BushCommand): Promise<boolean> {
+ public async exec(message: CommandMessage | SlashMessage, command: BushCommand): Promise<boolean> {
if (!message.guild || !message.guild) return false;
if (message.author.isOwner() || message.author.isSuperUser()) return false; // super users bypass guild disabled commands