From 13894f2beffc776a56ac03868613b4313dfb57bf Mon Sep 17 00:00:00 2001 From: IRONM00N <64110067+IRONM00N@users.noreply.github.com> Date: Mon, 1 Nov 2021 15:40:31 -0400 Subject: convert to esm --- src/listeners/commands/commandBlocked.ts | 2 +- src/listeners/commands/commandCooldown.ts | 2 +- src/listeners/commands/commandError.ts | 4 ++-- src/listeners/commands/commandMissingPermissions.ts | 2 +- src/listeners/commands/commandStarted.ts | 2 +- src/listeners/commands/messageBlocked.ts | 2 +- src/listeners/commands/slashBlocked.ts | 4 ++-- src/listeners/commands/slashCommandError.ts | 4 ++-- src/listeners/commands/slashMissingPermissions.ts | 4 ++-- src/listeners/commands/slashNotFound.ts | 2 +- src/listeners/commands/slashStarted.ts | 2 +- 11 files changed, 15 insertions(+), 15 deletions(-) (limited to 'src/listeners/commands') diff --git a/src/listeners/commands/commandBlocked.ts b/src/listeners/commands/commandBlocked.ts index 4f9f492..1435ae3 100644 --- a/src/listeners/commands/commandBlocked.ts +++ b/src/listeners/commands/commandBlocked.ts @@ -1,4 +1,4 @@ -import { BushListener, BushSlashMessage, type BushCommand, type BushCommandHandlerEvents, type BushMessage } from '@lib'; +import { BushListener, BushSlashMessage, type BushCommand, type BushCommandHandlerEvents, type BushMessage } from '#lib'; import { type InteractionReplyOptions, type Message, type MessagePayload, type ReplyMessageOptions } from 'discord.js'; export default class CommandBlockedListener extends BushListener { diff --git a/src/listeners/commands/commandCooldown.ts b/src/listeners/commands/commandCooldown.ts index b357ed8..74f6a47 100644 --- a/src/listeners/commands/commandCooldown.ts +++ b/src/listeners/commands/commandCooldown.ts @@ -1,4 +1,4 @@ -import { BushListener, type BushCommandHandlerEvents, type BushMessage } from '@lib'; +import { BushListener, type BushCommandHandlerEvents, type BushMessage } from '#lib'; export default class CommandCooldownListener extends BushListener { public constructor() { diff --git a/src/listeners/commands/commandError.ts b/src/listeners/commands/commandError.ts index a7303e8..6eceb68 100644 --- a/src/listeners/commands/commandError.ts +++ b/src/listeners/commands/commandError.ts @@ -1,8 +1,8 @@ -import { type BushCommandHandlerEvents } from '@lib'; +import { type BushCommandHandlerEvents } from '#lib'; import { Severity } from '@sentry/types'; import { Command, type AkairoMessage, type GuildTextBasedChannels } from 'discord-akairo'; import { Formatters, MessageEmbed, type DMChannel, type Message } from 'discord.js'; -import { BushListener } from '../../lib/extensions/discord-akairo/BushListener'; +import { BushListener } from '../../lib/extensions/discord-akairo/BushListener.js'; export default class CommandErrorListener extends BushListener { public constructor() { diff --git a/src/listeners/commands/commandMissingPermissions.ts b/src/listeners/commands/commandMissingPermissions.ts index 010682c..596a73f 100644 --- a/src/listeners/commands/commandMissingPermissions.ts +++ b/src/listeners/commands/commandMissingPermissions.ts @@ -1,4 +1,4 @@ -import { BushListener, type BushCommandHandlerEvents } from '@lib'; +import { BushListener, type BushCommandHandlerEvents } from '#lib'; export default class CommandMissingPermissionsListener extends BushListener { public constructor() { diff --git a/src/listeners/commands/commandStarted.ts b/src/listeners/commands/commandStarted.ts index eff8c94..b2d7470 100644 --- a/src/listeners/commands/commandStarted.ts +++ b/src/listeners/commands/commandStarted.ts @@ -1,4 +1,4 @@ -import { BushListener, type BushCommandHandlerEvents } from '@lib'; +import { BushListener, type BushCommandHandlerEvents } from '#lib'; import { Severity } from '@sentry/types'; import { type GuildTextBasedChannels } from 'discord-akairo'; import { type DMChannel } from 'discord.js'; diff --git a/src/listeners/commands/messageBlocked.ts b/src/listeners/commands/messageBlocked.ts index 7299eca..d567f8c 100644 --- a/src/listeners/commands/messageBlocked.ts +++ b/src/listeners/commands/messageBlocked.ts @@ -1,4 +1,4 @@ -import { BushListener, type BushCommandHandlerEvents } from '@lib'; +import { BushListener, type BushCommandHandlerEvents } from '#lib'; export default class MessageBlockedListener extends BushListener { public constructor() { diff --git a/src/listeners/commands/slashBlocked.ts b/src/listeners/commands/slashBlocked.ts index b5c57bf..6c0ed14 100644 --- a/src/listeners/commands/slashBlocked.ts +++ b/src/listeners/commands/slashBlocked.ts @@ -1,5 +1,5 @@ -import { BushListener, type BushCommandHandlerEvents } from '@lib'; -import CommandBlockedListener from './commandBlocked'; +import { BushListener, type BushCommandHandlerEvents } from '#lib'; +import CommandBlockedListener from './commandBlocked.js'; export default class SlashBlockedListener extends BushListener { public constructor() { diff --git a/src/listeners/commands/slashCommandError.ts b/src/listeners/commands/slashCommandError.ts index 435e449..5694391 100644 --- a/src/listeners/commands/slashCommandError.ts +++ b/src/listeners/commands/slashCommandError.ts @@ -1,5 +1,5 @@ -import { BushListener, type BushCommandHandlerEvents } from '@lib'; -import CommandErrorListener from './commandError'; +import { BushListener, type BushCommandHandlerEvents } from '#lib'; +import CommandErrorListener from './commandError.js'; export default class SlashCommandErrorListener extends BushListener { public constructor() { diff --git a/src/listeners/commands/slashMissingPermissions.ts b/src/listeners/commands/slashMissingPermissions.ts index 969c0e9..296f44b 100644 --- a/src/listeners/commands/slashMissingPermissions.ts +++ b/src/listeners/commands/slashMissingPermissions.ts @@ -1,5 +1,5 @@ -import { BushListener, type BushCommandHandlerEvents } from '@lib'; -import CommandMissingPermissionsListener from './commandMissingPermissions'; +import { BushListener, type BushCommandHandlerEvents } from '#lib'; +import CommandMissingPermissionsListener from './commandMissingPermissions.js'; export default class SlashMissingPermissionsListener extends BushListener { public constructor() { diff --git a/src/listeners/commands/slashNotFound.ts b/src/listeners/commands/slashNotFound.ts index 26635e8..a8e4267 100644 --- a/src/listeners/commands/slashNotFound.ts +++ b/src/listeners/commands/slashNotFound.ts @@ -1,4 +1,4 @@ -import { BushListener, type BushCommandHandlerEvents } from '@lib'; +import { BushListener, type BushCommandHandlerEvents } from '#lib'; export default class SlashNotFoundListener extends BushListener { public constructor() { diff --git a/src/listeners/commands/slashStarted.ts b/src/listeners/commands/slashStarted.ts index 46b6610..d742a75 100644 --- a/src/listeners/commands/slashStarted.ts +++ b/src/listeners/commands/slashStarted.ts @@ -1,4 +1,4 @@ -import { BushListener, type BushCommandHandlerEvents } from '@lib'; +import { BushListener, type BushCommandHandlerEvents } from '#lib'; export default class SlashStartedListener extends BushListener { public constructor() { -- cgit