From 80d5b5b11ae261945dc725a0a80115922003afcf Mon Sep 17 00:00:00 2001 From: IRONM00N <64110067+IRONM00N@users.noreply.github.com> Date: Mon, 26 Jul 2021 18:47:13 -0400 Subject: refactor: this.client -> client --- src/inhibitors/commands/guildDisabledCommand.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/inhibitors/commands/guildDisabledCommand.ts') 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; } } -- cgit