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