diff options
Diffstat (limited to 'src/listeners/message')
-rw-r--r-- | src/listeners/message/automodCreate.ts | 2 | ||||
-rw-r--r-- | src/listeners/message/automodUpdate.ts | 2 |
2 files changed, 2 insertions, 2 deletions
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<void> { - 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<void> { 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); } } |