From e1c613829950a534d9f45c00a033b83575be3b3c Mon Sep 17 00:00:00 2001 From: IRONM00N <64110067+IRONM00N@users.noreply.github.com> Date: Fri, 17 Jun 2022 20:03:05 -0400 Subject: remove global client variable --- src/inhibitors/command/restrictedChannel.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/inhibitors/command/restrictedChannel.ts') diff --git a/src/inhibitors/command/restrictedChannel.ts b/src/inhibitors/command/restrictedChannel.ts index 867756d..849166a 100644 --- a/src/inhibitors/command/restrictedChannel.ts +++ b/src/inhibitors/command/restrictedChannel.ts @@ -13,7 +13,7 @@ export default class RestrictedChannelInhibitor extends BushInhibitor { public async exec(message: CommandMessage | SlashMessage, command: BushCommand): Promise { if (command.restrictedChannels?.length && message.channel) { if (!command.restrictedChannels.includes(message.channel.id)) { - void client.console.verbose( + void this.client.console.verbose( 'restrictedChannel', `Blocked message with id <<${message.id}>> from <<${message.author.tag}>> in <<${message.guild?.name}>>.` ); -- cgit