From 1dee5bcda6a43eaa7fcc88ed3b0e458f32104de4 Mon Sep 17 00:00:00 2001 From: IRONM00N <64110067+IRONM00N@users.noreply.github.com> Date: Sun, 4 Jul 2021 17:07:38 -0400 Subject: cleaned up lib imports --- src/listeners/other/consoleListener.ts | 4 ++-- src/listeners/other/promiseRejection.ts | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'src/listeners/other') diff --git a/src/listeners/other/consoleListener.ts b/src/listeners/other/consoleListener.ts index b3d30ad..d1915f1 100644 --- a/src/listeners/other/consoleListener.ts +++ b/src/listeners/other/consoleListener.ts @@ -1,6 +1,6 @@ /* eslint-disable @typescript-eslint/no-var-requires */ /* eslint-disable @typescript-eslint/no-unused-vars */ -import { BushListener } from '../../lib/extensions/discord-akairo/BushListener'; +import { BushListener } from '../../lib'; export default class ConsoleListener extends BushListener { public constructor() { @@ -15,7 +15,7 @@ export default class ConsoleListener extends BushListener { const bot = this.client, config = this.client.config, client = this.client, - { Ban, Global, Guild, Level, ModLog, StickyRole } = await import('../../lib/models/index.js'), + { Ban, Global, Guild, Level, ModLog, StickyRole } = await import('../../lib'), { ButtonInteraction, Collector, diff --git a/src/listeners/other/promiseRejection.ts b/src/listeners/other/promiseRejection.ts index 228c65d..883197a 100644 --- a/src/listeners/other/promiseRejection.ts +++ b/src/listeners/other/promiseRejection.ts @@ -1,4 +1,4 @@ -import { BushListener } from '../../lib/extensions/discord-akairo/BushListener'; +import { BushListener } from '../../lib'; export default class PromiseRejectionListener extends BushListener { public constructor() { -- cgit