From cca0b7a03bcd61af12b7f9bff51276f6c70beeb3 Mon Sep 17 00:00:00 2001 From: IRONM00N <64110067+IRONM00N@users.noreply.github.com> Date: Mon, 26 Jul 2021 18:45:31 -0400 Subject: refactor: this.client.util -> util --- src/listeners/message/automodCreate.ts | 2 +- src/listeners/message/automodUpdate.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'src/listeners/message') diff --git a/src/listeners/message/automodCreate.ts b/src/listeners/message/automodCreate.ts index 9b7d0ec..b8057c5 100644 --- a/src/listeners/message/automodCreate.ts +++ b/src/listeners/message/automodCreate.ts @@ -11,6 +11,6 @@ export default class AutomodMessageCreateListener extends BushListener { } async exec(...[message]: ClientEvents['messageCreate']): Promise { - return await this.client.util.automod(message as BushMessage); + return await util.automod(message as BushMessage); } } diff --git a/src/listeners/message/automodUpdate.ts b/src/listeners/message/automodUpdate.ts index 37e00bf..9d17ef0 100644 --- a/src/listeners/message/automodUpdate.ts +++ b/src/listeners/message/automodUpdate.ts @@ -12,6 +12,6 @@ export default class AutomodMessageUpdateListener extends BushListener { async exec(...[message]: ClientEvents['messageUpdate']): Promise { const fullMessage = message.partial ? await message.fetch() : (message as Message); - return await this.client.util.automod(fullMessage as BushMessage); + return await util.automod(fullMessage as BushMessage); } } -- cgit