aboutsummaryrefslogtreecommitdiff
path: root/src/inhibitors/command/restrictedGuild.ts
diff options
context:
space:
mode:
Diffstat (limited to 'src/inhibitors/command/restrictedGuild.ts')
-rw-r--r--src/inhibitors/command/restrictedGuild.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/inhibitors/command/restrictedGuild.ts b/src/inhibitors/command/restrictedGuild.ts
index 4d43c21..1e2d1b2 100644
--- a/src/inhibitors/command/restrictedGuild.ts
+++ b/src/inhibitors/command/restrictedGuild.ts
@@ -13,7 +13,7 @@ export default class RestrictedGuildInhibitor extends BushInhibitor {
public async exec(message: CommandMessage | SlashMessage, command: BushCommand): Promise<boolean> {
if (command.restrictedChannels?.length && message.channel) {
if (!command.restrictedChannels.includes(message.channel.id)) {
- void client.console.verbose(
+ void this.client.console.verbose(
'restrictedGuild',
`Blocked message with id <<${message.id}>> from <<${message.author.tag}>> in <<${message.guild?.name}>>.`
);