aboutsummaryrefslogtreecommitdiff
path: root/src/listeners/other
diff options
context:
space:
mode:
authorIRONM00N <64110067+IRONM00N@users.noreply.github.com>2021-11-01 15:40:31 -0400
committerIRONM00N <64110067+IRONM00N@users.noreply.github.com>2021-11-01 15:40:31 -0400
commit13894f2beffc776a56ac03868613b4313dfb57bf (patch)
tree028c229b42c2a74a3c511386f594385d3ed77dd5 /src/listeners/other
parent914c4d3cb7f02a0c74b677e67a47fb66a65fb724 (diff)
downloadtanzanite-13894f2beffc776a56ac03868613b4313dfb57bf.tar.gz
tanzanite-13894f2beffc776a56ac03868613b4313dfb57bf.tar.bz2
tanzanite-13894f2beffc776a56ac03868613b4313dfb57bf.zip
convert to esm
Diffstat (limited to 'src/listeners/other')
-rw-r--r--src/listeners/other/consoleListener.ts4
-rw-r--r--src/listeners/other/exit.ts2
-rw-r--r--src/listeners/other/promiseRejection.ts4
-rw-r--r--src/listeners/other/uncaughtException.ts4
-rw-r--r--src/listeners/other/warning.ts4
5 files changed, 9 insertions, 9 deletions
diff --git a/src/listeners/other/consoleListener.ts b/src/listeners/other/consoleListener.ts
index fab9119..fca8255 100644
--- a/src/listeners/other/consoleListener.ts
+++ b/src/listeners/other/consoleListener.ts
@@ -1,4 +1,4 @@
-import { BushListener } from '@lib';
+import { BushListener } from '#lib';
import { exec } from 'child_process';
import { promisify } from 'util';
@@ -16,7 +16,7 @@ export default class ConsoleListener extends BushListener {
const sh = promisify(exec),
bot = client,
config = client.config,
- { ActivePunishment, Global, Guild, Level, ModLog, StickyRole } = await import('@lib'),
+ { ActivePunishment, Global, Guild, Level, ModLog, StickyRole } = await import('#lib'),
{
ButtonInteraction,
Collector,
diff --git a/src/listeners/other/exit.ts b/src/listeners/other/exit.ts
index 4ea6068..26ed36f 100644
--- a/src/listeners/other/exit.ts
+++ b/src/listeners/other/exit.ts
@@ -1,4 +1,4 @@
-import { BushListener } from '@lib';
+import { BushListener } from '#lib';
export default class ExitListener extends BushListener {
public constructor() {
diff --git a/src/listeners/other/promiseRejection.ts b/src/listeners/other/promiseRejection.ts
index ad16773..f7ca840 100644
--- a/src/listeners/other/promiseRejection.ts
+++ b/src/listeners/other/promiseRejection.ts
@@ -1,6 +1,6 @@
-import { BushListener } from '@lib';
+import { BushListener } from '#lib';
import { Severity } from '@sentry/node';
-import CommandErrorListener from '../commands/commandError';
+import CommandErrorListener from '../commands/commandError.js';
export default class PromiseRejectionListener extends BushListener {
public constructor() {
diff --git a/src/listeners/other/uncaughtException.ts b/src/listeners/other/uncaughtException.ts
index 0f8c17c..096c1f0 100644
--- a/src/listeners/other/uncaughtException.ts
+++ b/src/listeners/other/uncaughtException.ts
@@ -1,6 +1,6 @@
-import { BushListener } from '@lib';
+import { BushListener } from '#lib';
import { Severity } from '@sentry/node';
-import CommandErrorListener from '../commands/commandError';
+import CommandErrorListener from '../commands/commandError.js';
export default class UncaughtExceptionListener extends BushListener {
public constructor() {
diff --git a/src/listeners/other/warning.ts b/src/listeners/other/warning.ts
index bf1488f..4dd79fe 100644
--- a/src/listeners/other/warning.ts
+++ b/src/listeners/other/warning.ts
@@ -1,6 +1,6 @@
-import { BushListener } from '@lib';
+import { BushListener } from '#lib';
import { Severity } from '@sentry/node';
-import CommandErrorListener from '../commands/commandError';
+import CommandErrorListener from '../commands/commandError.js';
export default class WarningListener extends BushListener {
public constructor() {