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 a036ec5..d16bff7 100644
--- a/src/inhibitors/commands/guildDisabledCommand.ts
+++ b/src/inhibitors/commands/guildDisabledCommand.ts
@@ -14,7 +14,7 @@ export default class DisabledGuildCommandInhibitor extends BushInhibitor {
if (message.author.isOwner() || message.author.isSuperUser()) return false; // super users bypass guild disabled commands
if ((await message.guild.getSetting('disabledCommands'))?.includes(command?.id)) {
- this.client.console.debug(`disabledGuildCommand blocked message.`);
+ client.console.debug(`disabledGuildCommand blocked message.`);
return true;
}
}