aboutsummaryrefslogtreecommitdiff
path: root/src/listeners/other
diff options
context:
space:
mode:
authorIRONM00N <64110067+IRONM00N@users.noreply.github.com>2021-07-11 20:52:56 -0400
committerIRONM00N <64110067+IRONM00N@users.noreply.github.com>2021-07-11 20:52:56 -0400
commit66b958cd1d38a8ba0d64ecd188bc8d90e850cfbb (patch)
treec1b586329f281d690b69247dca7311a080e91921 /src/listeners/other
parent5cc921fe1bdd24859ad1b15d73c86980de8f4ea0 (diff)
downloadtanzanite-66b958cd1d38a8ba0d64ecd188bc8d90e850cfbb.tar.gz
tanzanite-66b958cd1d38a8ba0d64ecd188bc8d90e850cfbb.tar.bz2
tanzanite-66b958cd1d38a8ba0d64ecd188bc8d90e850cfbb.zip
fix: circular imports
Diffstat (limited to 'src/listeners/other')
-rw-r--r--src/listeners/other/consoleListener.ts4
-rw-r--r--src/listeners/other/promiseRejection.ts2
2 files changed, 3 insertions, 3 deletions
diff --git a/src/listeners/other/consoleListener.ts b/src/listeners/other/consoleListener.ts
index d1915f1..ef1efd5 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';
+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'),
+ { 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 883197a..460d849 100644
--- a/src/listeners/other/promiseRejection.ts
+++ b/src/listeners/other/promiseRejection.ts
@@ -1,4 +1,4 @@
-import { BushListener } from '../../lib';
+import { BushListener } from '@lib';
export default class PromiseRejectionListener extends BushListener {
public constructor() {