diff options
author | IRONM00N <64110067+IRONM00N@users.noreply.github.com> | 2021-11-01 15:40:31 -0400 |
---|---|---|
committer | IRONM00N <64110067+IRONM00N@users.noreply.github.com> | 2021-11-01 15:40:31 -0400 |
commit | 13894f2beffc776a56ac03868613b4313dfb57bf (patch) | |
tree | 028c229b42c2a74a3c511386f594385d3ed77dd5 /src/lib/common | |
parent | 914c4d3cb7f02a0c74b677e67a47fb66a65fb724 (diff) | |
download | tanzanite-13894f2beffc776a56ac03868613b4313dfb57bf.tar.gz tanzanite-13894f2beffc776a56ac03868613b4313dfb57bf.tar.bz2 tanzanite-13894f2beffc776a56ac03868613b4313dfb57bf.zip |
convert to esm
Diffstat (limited to 'src/lib/common')
-rw-r--r-- | src/lib/common/AutoMod.ts | 8 | ||||
-rw-r--r-- | src/lib/common/ButtonPaginator.ts | 14 | ||||
-rw-r--r-- | src/lib/common/DeleteButton.ts | 2 | ||||
-rw-r--r-- | src/lib/common/Format.ts | 2 | ||||
-rw-r--r-- | src/lib/common/Moderation.ts | 18 | ||||
-rw-r--r-- | src/lib/common/Sentry.ts | 2 | ||||
-rw-r--r-- | src/lib/common/util/Arg.ts | 2 |
7 files changed, 24 insertions, 24 deletions
diff --git a/src/lib/common/AutoMod.ts b/src/lib/common/AutoMod.ts index c749a33..8b31e55 100644 --- a/src/lib/common/AutoMod.ts +++ b/src/lib/common/AutoMod.ts @@ -1,8 +1,8 @@ -import { Moderation, type BushButtonInteraction, type BushMessage } from '@lib'; +import { Moderation, type BushButtonInteraction, type BushMessage } from '#lib'; import { GuildMember, MessageActionRow, MessageButton, MessageEmbed, type TextChannel } from 'discord.js'; -import badLinksArray from '../badlinks'; -import badLinksSecretArray from '../badlinks-secret'; // I cannot make this public so just make a new file that export defaults an empty array -import badWords from '../badwords'; +import badLinksSecretArray from '../badlinks-secret.js'; // I cannot make this public so just make a new file that export defaults an empty array +import badLinksArray from '../badlinks.js'; +import badWords from '../badwords.js'; export class AutoMod { private message: BushMessage; diff --git a/src/lib/common/ButtonPaginator.ts b/src/lib/common/ButtonPaginator.ts index 58134b5..6a2dba2 100644 --- a/src/lib/common/ButtonPaginator.ts +++ b/src/lib/common/ButtonPaginator.ts @@ -1,11 +1,11 @@ -import { DeleteButton, type BushMessage, type BushSlashMessage } from '@lib'; +import { DeleteButton, type BushMessage, type BushSlashMessage } from '#lib'; import { - Constants, - MessageActionRow, - MessageButton, - MessageEmbed, - type MessageComponentInteraction, - type MessageEmbedOptions + Constants, + MessageActionRow, + MessageButton, + MessageEmbed, + type MessageComponentInteraction, + type MessageEmbedOptions } from 'discord.js'; export class ButtonPaginator { diff --git a/src/lib/common/DeleteButton.ts b/src/lib/common/DeleteButton.ts index 95bae24..4792cf7 100644 --- a/src/lib/common/DeleteButton.ts +++ b/src/lib/common/DeleteButton.ts @@ -1,4 +1,4 @@ -import { PaginateEmojis, type BushMessage, type BushSlashMessage } from '@lib'; +import { PaginateEmojis, type BushMessage, type BushSlashMessage } from '#lib'; import { Constants, MessageActionRow, MessageButton, type MessageComponentInteraction, type MessageOptions } from 'discord.js'; export class DeleteButton { diff --git a/src/lib/common/Format.ts b/src/lib/common/Format.ts index 2557b17..55a6666 100644 --- a/src/lib/common/Format.ts +++ b/src/lib/common/Format.ts @@ -1,4 +1,4 @@ -import { type CodeBlockLang } from '@lib'; +import { type CodeBlockLang } from '#lib'; import { Formatters, Util } from 'discord.js'; /** diff --git a/src/lib/common/Moderation.ts b/src/lib/common/Moderation.ts index d0367d5..13ebf69 100644 --- a/src/lib/common/Moderation.ts +++ b/src/lib/common/Moderation.ts @@ -1,13 +1,13 @@ import { - ActivePunishment, - ActivePunishmentType, - Guild, - ModLog, - ModLogType, - type BushGuildMember, - type BushGuildMemberResolvable, - type BushGuildResolvable -} from '@lib'; + ActivePunishment, + ActivePunishmentType, + Guild, + ModLog, + ModLogType, + type BushGuildMember, + type BushGuildMemberResolvable, + type BushGuildResolvable +} from '#lib'; import { type Snowflake } from 'discord.js'; export class Moderation { diff --git a/src/lib/common/Sentry.ts b/src/lib/common/Sentry.ts index 2040536..1de09ac 100644 --- a/src/lib/common/Sentry.ts +++ b/src/lib/common/Sentry.ts @@ -1,5 +1,5 @@ import * as SentryNode from '@sentry/node'; -import config from './../../config/options'; +import config from './../../config/options.js'; export class Sentry { public constructor() { diff --git a/src/lib/common/util/Arg.ts b/src/lib/common/util/Arg.ts index 3c8e642..ee9aee0 100644 --- a/src/lib/common/util/Arg.ts +++ b/src/lib/common/util/Arg.ts @@ -1,4 +1,4 @@ -import { type BushArgumentType, type BushMessage, type BushSlashMessage } from '@lib'; +import { type BushArgumentType, type BushMessage, type BushSlashMessage } from '#lib'; import { Argument, type ArgumentTypeCaster, type Flag, type ParsedValuePredicate } from 'discord-akairo'; import { type Message } from 'discord.js'; |