aboutsummaryrefslogtreecommitdiff
path: root/src/lib
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib')
-rw-r--r--src/lib/badwords.ts2
-rw-r--r--src/lib/common/AutoMod.ts8
-rw-r--r--src/lib/common/ButtonPaginator.ts14
-rw-r--r--src/lib/common/DeleteButton.ts2
-rw-r--r--src/lib/common/Format.ts2
-rw-r--r--src/lib/common/Moderation.ts18
-rw-r--r--src/lib/common/Sentry.ts2
-rw-r--r--src/lib/common/util/Arg.ts2
-rw-r--r--src/lib/extensions/discord-akairo/BushArgumentTypeCaster.ts2
-rw-r--r--src/lib/extensions/discord-akairo/BushClient.ts137
-rw-r--r--src/lib/extensions/discord-akairo/BushClientUtil.ts18
-rw-r--r--src/lib/extensions/discord-akairo/BushCommand.ts2
-rw-r--r--src/lib/extensions/discord-akairo/BushCommandHandler.ts2
-rw-r--r--src/lib/extensions/discord-akairo/BushCommandUtil.ts2
-rw-r--r--src/lib/extensions/discord-akairo/BushInhibitor.ts2
-rw-r--r--src/lib/extensions/discord-akairo/BushInhibitorHandler.ts2
-rw-r--r--src/lib/extensions/discord-akairo/BushListener.ts2
-rw-r--r--src/lib/extensions/discord-akairo/BushListenerHandler.ts2
-rw-r--r--src/lib/extensions/discord-akairo/BushSlashMessage.ts2
-rw-r--r--src/lib/extensions/discord-akairo/BushTask.ts2
-rw-r--r--src/lib/extensions/discord-akairo/BushTaskHandler.ts2
-rw-r--r--src/lib/extensions/discord.js/BushActivity.ts4
-rw-r--r--src/lib/extensions/discord.js/BushApplicationCommand.ts4
-rw-r--r--src/lib/extensions/discord.js/BushApplicationCommandManager.d.ts22
-rw-r--r--src/lib/extensions/discord.js/BushApplicationCommandPermissionsManager.d.ts9
-rw-r--r--src/lib/extensions/discord.js/BushBaseGuildEmojiManager.d.ts2
-rw-r--r--src/lib/extensions/discord.js/BushBaseGuildTextChannel.ts18
-rw-r--r--src/lib/extensions/discord.js/BushButtonInteraction.ts6
-rw-r--r--src/lib/extensions/discord.js/BushCategoryChannel.ts2
-rw-r--r--src/lib/extensions/discord.js/BushChannel.d.ts6
-rw-r--r--src/lib/extensions/discord.js/BushChannelManager.d.ts4
-rw-r--r--src/lib/extensions/discord.js/BushClientEvents.d.ts76
-rw-r--r--src/lib/extensions/discord.js/BushClientUser.d.ts16
-rw-r--r--src/lib/extensions/discord.js/BushCommandInteraction.ts22
-rw-r--r--src/lib/extensions/discord.js/BushDMChannel.ts4
-rw-r--r--src/lib/extensions/discord.js/BushEmoji.ts4
-rw-r--r--src/lib/extensions/discord.js/BushGuild.ts30
-rw-r--r--src/lib/extensions/discord.js/BushGuildApplicationCommandManager.d.ts6
-rw-r--r--src/lib/extensions/discord.js/BushGuildBan.d.ts4
-rw-r--r--src/lib/extensions/discord.js/BushGuildChannel.ts4
-rw-r--r--src/lib/extensions/discord.js/BushGuildEmoji.ts4
-rw-r--r--src/lib/extensions/discord.js/BushGuildEmojiRoleManager.d.ts2
-rw-r--r--src/lib/extensions/discord.js/BushGuildManager.d.ts2
-rw-r--r--src/lib/extensions/discord.js/BushGuildMember.ts4
-rw-r--r--src/lib/extensions/discord.js/BushGuildMemberManager.d.ts18
-rw-r--r--src/lib/extensions/discord.js/BushMessage.ts20
-rw-r--r--src/lib/extensions/discord.js/BushMessageManager.d.ts17
-rw-r--r--src/lib/extensions/discord.js/BushMessageReaction.ts4
-rw-r--r--src/lib/extensions/discord.js/BushNewsChannel.ts2
-rw-r--r--src/lib/extensions/discord.js/BushPresence.ts4
-rw-r--r--src/lib/extensions/discord.js/BushReactionEmoji.ts4
-rw-r--r--src/lib/extensions/discord.js/BushRole.ts4
-rw-r--r--src/lib/extensions/discord.js/BushSelectMenuInteraction.ts6
-rw-r--r--src/lib/extensions/discord.js/BushStageChannel.ts4
-rw-r--r--src/lib/extensions/discord.js/BushStageInstance.ts4
-rw-r--r--src/lib/extensions/discord.js/BushStoreChannel.ts4
-rw-r--r--src/lib/extensions/discord.js/BushTextChannel.ts4
-rw-r--r--src/lib/extensions/discord.js/BushThreadChannel.ts20
-rw-r--r--src/lib/extensions/discord.js/BushThreadManager.d.ts8
-rw-r--r--src/lib/extensions/discord.js/BushThreadMember.ts4
-rw-r--r--src/lib/extensions/discord.js/BushThreadMemberManager.d.ts4
-rw-r--r--src/lib/extensions/discord.js/BushUser.ts4
-rw-r--r--src/lib/extensions/discord.js/BushUserManager.d.ts4
-rw-r--r--src/lib/extensions/discord.js/BushVoiceChannel.ts4
-rw-r--r--src/lib/extensions/discord.js/BushVoiceState.ts4
-rw-r--r--src/lib/extensions/global.d.ts3
-rw-r--r--src/lib/index.ts156
-rw-r--r--src/lib/models/ActivePunishment.ts7
-rw-r--r--src/lib/models/BaseModel.ts2
-rw-r--r--src/lib/models/Global.ts8
-rw-r--r--src/lib/models/Guild.ts14
-rw-r--r--src/lib/models/Level.ts6
-rw-r--r--src/lib/models/ModLog.ts8
-rw-r--r--src/lib/models/Stat.ts8
-rw-r--r--src/lib/models/StickyRole.ts8
-rw-r--r--src/lib/models/__helpers.ts5
-rw-r--r--src/lib/utils/BushCache.ts2
77 files changed, 445 insertions, 411 deletions
diff --git a/src/lib/badwords.ts b/src/lib/badwords.ts
index 18c7755..2401a15 100644
--- a/src/lib/badwords.ts
+++ b/src/lib/badwords.ts
@@ -1,4 +1,4 @@
-import { Severity, type BadWords } from "./common/AutoMod";
+import { Severity, type BadWords } from "./common/AutoMod.js";
export default {
/* -------------------------------------------------------------------------- */
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';
diff --git a/src/lib/extensions/discord-akairo/BushArgumentTypeCaster.ts b/src/lib/extensions/discord-akairo/BushArgumentTypeCaster.ts
index c07644c..f27fb89 100644
--- a/src/lib/extensions/discord-akairo/BushArgumentTypeCaster.ts
+++ b/src/lib/extensions/discord-akairo/BushArgumentTypeCaster.ts
@@ -1,3 +1,3 @@
-import { type BushMessage } from '@lib';
+import { type BushMessage } from '#lib';
export type BushArgumentTypeCaster = (message: BushMessage, phrase: string) => any;
diff --git a/src/lib/extensions/discord-akairo/BushClient.ts b/src/lib/extensions/discord-akairo/BushClient.ts
index 8f7533c..6b25aaa 100644
--- a/src/lib/extensions/discord-akairo/BushClient.ts
+++ b/src/lib/extensions/discord-akairo/BushClient.ts
@@ -1,12 +1,24 @@
+import type {
+ BushApplicationCommand,
+ BushBaseGuildEmojiManager,
+ BushChannel,
+ BushChannelManager,
+ BushClientEvents,
+ BushClientUser,
+ BushGuildManager,
+ BushReactionEmoji,
+ BushUserManager,
+ Config
+} from '#lib';
import * as Sentry from '@sentry/node';
import { AkairoClient, ContextMenuCommandHandler, version as akairoVersion } from 'discord-akairo';
import {
- DMChannel,
- Intents, Options,
- Structures, version as discordJsVersion,
+ Intents,
+ Options,
+ Structures,
+ version as discordJsVersion,
type Awaitable,
- type Collection,
- type InteractionReplyOptions,
+ type Collection, type DMChannel, type InteractionReplyOptions,
type Message,
type MessageEditOptions,
type MessageOptions,
@@ -18,66 +30,59 @@ import {
} from 'discord.js';
//@ts-ignore: no typings
import eventsIntercept from 'events-intercept';
-import path from 'path';
+import path, { dirname } from 'path';
import readline from 'readline';
-import { Sequelize } from 'sequelize';
-import { abbreviatedNumberTypeCaster } from '../../../arguments/abbreviatedNumber';
-import { contentWithDurationTypeCaster } from '../../../arguments/contentWithDuration';
-import { discordEmojiTypeCaster } from '../../../arguments/discordEmoji';
-import { durationTypeCaster } from '../../../arguments/duration';
-import { durationSecondsTypeCaster } from '../../../arguments/durationSeconds';
-import { globalUserTypeCaster } from '../../../arguments/globalUser';
-import { permissionTypeCaster } from '../../../arguments/permission';
-import { roleWithDurationTypeCaster } from '../../../arguments/roleWithDuation';
-import { snowflakeTypeCaster } from '../../../arguments/snowflake';
-import UpdateCacheTask from '../../../tasks/updateCache';
-import UpdateStatsTask from '../../../tasks/updateStats';
-import { ActivePunishment } from '../../models/ActivePunishment';
-import { Global } from '../../models/Global';
-import { Guild as GuildModel } from '../../models/Guild';
-import { Level } from '../../models/Level';
-import { ModLog } from '../../models/ModLog';
-import { Stat } from '../../models/Stat';
-import { StickyRole } from '../../models/StickyRole';
-import { AllowedMentions } from '../../utils/AllowedMentions';
-import { BushCache } from '../../utils/BushCache';
-import { BushConstants } from '../../utils/BushConstants';
-import { BushLogger } from '../../utils/BushLogger';
-import { Config } from '../../utils/Config';
-import { BushApplicationCommand } from '../discord.js/BushApplicationCommand';
-import { BushBaseGuildEmojiManager } from '../discord.js/BushBaseGuildEmojiManager';
-import { BushButtonInteraction } from '../discord.js/BushButtonInteraction';
-import { BushCategoryChannel } from '../discord.js/BushCategoryChannel';
-import { BushChannel } from '../discord.js/BushChannel';
-import { BushChannelManager } from '../discord.js/BushChannelManager';
-import { BushClientEvents } from '../discord.js/BushClientEvents';
-import { BushClientUser } from '../discord.js/BushClientUser';
-import { BushCommandInteraction } from '../discord.js/BushCommandInteraction';
-import { BushDMChannel } from '../discord.js/BushDMChannel';
-import { BushGuild } from '../discord.js/BushGuild';
-import { BushGuildEmoji } from '../discord.js/BushGuildEmoji';
-import { BushGuildManager } from '../discord.js/BushGuildManager';
-import { BushGuildMember } from '../discord.js/BushGuildMember';
-import { BushMessage } from '../discord.js/BushMessage';
-import { BushMessageReaction } from '../discord.js/BushMessageReaction';
-import { BushNewsChannel } from '../discord.js/BushNewsChannel';
-import { BushPresence } from '../discord.js/BushPresence';
-import { BushReactionEmoji } from '../discord.js/BushReactionEmoji';
-import { BushRole } from '../discord.js/BushRole';
-import { BushSelectMenuInteraction } from '../discord.js/BushSelectMenuInteraction';
-import { BushStoreChannel } from '../discord.js/BushStoreChannel';
-import { BushTextChannel } from '../discord.js/BushTextChannel';
-import { BushThreadChannel } from '../discord.js/BushThreadChannel';
-import { BushThreadMember } from '../discord.js/BushThreadMember';
-import { BushUser } from '../discord.js/BushUser';
-import { BushUserManager } from '../discord.js/BushUserManager';
-import { BushVoiceChannel } from '../discord.js/BushVoiceChannel';
-import { BushVoiceState } from '../discord.js/BushVoiceState';
-import { BushClientUtil } from './BushClientUtil';
-import { BushCommandHandler } from './BushCommandHandler';
-import { BushInhibitorHandler } from './BushInhibitorHandler';
-import { BushListenerHandler } from './BushListenerHandler';
-import { BushTaskHandler } from './BushTaskHandler';
+import type { Sequelize as SequelizeType } from 'sequelize';
+import { fileURLToPath } from 'url';
+import { abbreviatedNumberTypeCaster } from '../../../arguments/abbreviatedNumber.js';
+import { contentWithDurationTypeCaster } from '../../../arguments/contentWithDuration.js';
+import { discordEmojiTypeCaster } from '../../../arguments/discordEmoji.js';
+import { durationTypeCaster } from '../../../arguments/duration.js';
+import { durationSecondsTypeCaster } from '../../../arguments/durationSeconds.js';
+import { globalUserTypeCaster } from '../../../arguments/globalUser.js';
+import { permissionTypeCaster } from '../../../arguments/permission.js';
+import { roleWithDurationTypeCaster } from '../../../arguments/roleWithDuration.js';
+import { snowflakeTypeCaster } from '../../../arguments/snowflake.js';
+import UpdateCacheTask from '../../../tasks/updateCache.js';
+import UpdateStatsTask from '../../../tasks/updateStats.js';
+import { ActivePunishment } from '../../models/ActivePunishment.js';
+import { Global } from '../../models/Global.js';
+import { Guild as GuildModel } from '../../models/Guild.js';
+import { Level } from '../../models/Level.js';
+import { ModLog } from '../../models/ModLog.js';
+import { Stat } from '../../models/Stat.js';
+import { StickyRole } from '../../models/StickyRole.js';
+import { AllowedMentions } from '../../utils/AllowedMentions.js';
+import { BushCache } from '../../utils/BushCache.js';
+import { BushConstants } from '../../utils/BushConstants.js';
+import { BushLogger } from '../../utils/BushLogger.js';
+import { BushButtonInteraction } from '../discord.js/BushButtonInteraction.js';
+import { BushCategoryChannel } from '../discord.js/BushCategoryChannel.js';
+import { BushCommandInteraction } from '../discord.js/BushCommandInteraction.js';
+import { BushDMChannel } from '../discord.js/BushDMChannel.js';
+import { BushGuild } from '../discord.js/BushGuild.js';
+import { BushGuildEmoji } from '../discord.js/BushGuildEmoji.js';
+import { BushGuildMember } from '../discord.js/BushGuildMember.js';
+import { BushMessage } from '../discord.js/BushMessage.js';
+import { BushMessageReaction } from '../discord.js/BushMessageReaction.js';
+import { BushNewsChannel } from '../discord.js/BushNewsChannel.js';
+import { BushPresence } from '../discord.js/BushPresence.js';
+import { BushRole } from '../discord.js/BushRole.js';
+import { BushSelectMenuInteraction } from '../discord.js/BushSelectMenuInteraction.js';
+import { BushStoreChannel } from '../discord.js/BushStoreChannel.js';
+import { BushTextChannel } from '../discord.js/BushTextChannel.js';
+import { BushThreadChannel } from '../discord.js/BushThreadChannel.js';
+import { BushThreadMember } from '../discord.js/BushThreadMember.js';
+import { BushUser } from '../discord.js/BushUser.js';
+import { BushVoiceChannel } from '../discord.js/BushVoiceChannel.js';
+import { BushVoiceState } from '../discord.js/BushVoiceState.js';
+import { BushClientUtil } from './BushClientUtil.js';
+import { BushCommandHandler } from './BushCommandHandler.js';
+import { BushInhibitorHandler } from './BushInhibitorHandler.js';
+import { BushListenerHandler } from './BushListenerHandler.js';
+import { BushTaskHandler } from './BushTaskHandler.js';
+const { Sequelize } = (await import('sequelize')).default;
+
export type BushReplyMessageType = string | MessagePayload | ReplyMessageOptions;
export type BushEditMessageType = string | MessageEditOptions | MessagePayload;
@@ -110,6 +115,8 @@ const rl = readline.createInterface({
type If<T extends boolean, A, B = null> = T extends true ? A : T extends false ? B : A | B;
+const __dirname = dirname(fileURLToPath(import.meta.url));
+
export class BushClient<Ready extends boolean = boolean> extends AkairoClient<Ready> {
public static init(): void {
Structures.extend('GuildEmoji', () => BushGuildEmoji);
@@ -150,7 +157,7 @@ export class BushClient<Ready extends boolean = boolean> extends AkairoClient<Re
public contextMenuCommandHandler: ContextMenuCommandHandler;
public declare util: BushClientUtil;
public declare ownerID: Snowflake[];
- public db: Sequelize;
+ public db: SequelizeType;
public logger = BushLogger;
public constants = BushConstants;
public cache = BushCache;
diff --git a/src/lib/extensions/discord-akairo/BushClientUtil.ts b/src/lib/extensions/discord-akairo/BushClientUtil.ts
index 4507458..594c9af 100644
--- a/src/lib/extensions/discord-akairo/BushClientUtil.ts
+++ b/src/lib/extensions/discord-akairo/BushClientUtil.ts
@@ -4,12 +4,19 @@ import {
Global,
type BushCache,
type BushClient,
+ type BushInspectOptions,
type BushMessage,
+ type BushNewsChannel,
+ type BushSlashEditMessageType,
type BushSlashMessage,
+ type BushSlashSendMessageType,
+ type BushTextChannel,
type BushUser,
+ type BushUserResolvable,
+ type CodeBlockLang,
type Pronoun,
type PronounCode
-} from '@lib';
+} from '#lib';
import { exec } from 'child_process';
import { ClientUtil, Util as AkairoUtil } from 'discord-akairo';
import { APIMessage } from 'discord-api-types';
@@ -33,13 +40,8 @@ import humanizeDuration from 'humanize-duration';
import _ from 'lodash';
import moment from 'moment';
import { inspect, promisify } from 'util';
-import CommandErrorListener from '../../../listeners/commands/commandError';
-import { Format } from '../../common/Format';
-import { BushInspectOptions } from '../../common/typings/BushInspectOptions';
-import { CodeBlockLang } from '../../common/typings/CodeBlockLang';
-import { BushNewsChannel } from '../discord.js/BushNewsChannel';
-import { BushTextChannel } from '../discord.js/BushTextChannel';
-import { BushSlashEditMessageType, BushSlashSendMessageType, BushUserResolvable } from './BushClient';
+import CommandErrorListener from '../../../listeners/commands/commandError.js';
+import { Format } from '../../common/Format.js';
export class BushClientUtil extends ClientUtil {
/**
diff --git a/src/lib/extensions/discord-akairo/BushCommand.ts b/src/lib/extensions/discord-akairo/BushCommand.ts
index 40c5974..b079649 100644
--- a/src/lib/extensions/discord-akairo/BushCommand.ts
+++ b/src/lib/extensions/discord-akairo/BushCommand.ts
@@ -1,4 +1,4 @@
-import { type BushClient, type BushCommandHandler, type BushMessage, type BushSlashMessage } from '@lib';
+import { type BushClient, type BushCommandHandler, type BushMessage, type BushSlashMessage } from '#lib';
import { Command, type ArgumentOptions, type ArgumentPromptOptions, type ArgumentTypeCaster, type CommandOptions } from 'discord-akairo';
import { type PermissionResolvable, type Snowflake } from 'discord.js';
diff --git a/src/lib/extensions/discord-akairo/BushCommandHandler.ts b/src/lib/extensions/discord-akairo/BushCommandHandler.ts
index 09cb303..2a74aa4 100644
--- a/src/lib/extensions/discord-akairo/BushCommandHandler.ts
+++ b/src/lib/extensions/discord-akairo/BushCommandHandler.ts
@@ -1,4 +1,4 @@
-import { type BushClient, type BushCommand, type BushMessage, type BushSlashMessage } from '@lib';
+import { type BushClient, type BushCommand, type BushMessage, type BushSlashMessage } from '#lib';
import { CommandHandler, type Category, type CommandHandlerEvents, type CommandHandlerOptions } from 'discord-akairo';
import { type Collection, type PermissionString } from 'discord.js';
diff --git a/src/lib/extensions/discord-akairo/BushCommandUtil.ts b/src/lib/extensions/discord-akairo/BushCommandUtil.ts
index 04533bd..f7dd631 100644
--- a/src/lib/extensions/discord-akairo/BushCommandUtil.ts
+++ b/src/lib/extensions/discord-akairo/BushCommandUtil.ts
@@ -1,4 +1,4 @@
-import { type BushCommand, type BushCommandHandler, type BushMessage, type BushSlashMessage } from '@lib';
+import { type BushCommand, type BushCommandHandler, type BushMessage, type BushSlashMessage } from '#lib';
import { CommandUtil, type ParsedComponentData } from 'discord-akairo';
import { type Collection, type Snowflake } from 'discord.js';
diff --git a/src/lib/extensions/discord-akairo/BushInhibitor.ts b/src/lib/extensions/discord-akairo/BushInhibitor.ts
index 638f663..78563c9 100644
--- a/src/lib/extensions/discord-akairo/BushInhibitor.ts
+++ b/src/lib/extensions/discord-akairo/BushInhibitor.ts
@@ -1,4 +1,4 @@
-import { type BushClient, type BushCommand, type BushMessage, type BushSlashMessage } from '@lib';
+import { type BushClient, type BushCommand, type BushMessage, type BushSlashMessage } from '#lib';
import { Inhibitor } from 'discord-akairo';
export class BushInhibitor extends Inhibitor {
diff --git a/src/lib/extensions/discord-akairo/BushInhibitorHandler.ts b/src/lib/extensions/discord-akairo/BushInhibitorHandler.ts
index 4984934..a607bf7 100644
--- a/src/lib/extensions/discord-akairo/BushInhibitorHandler.ts
+++ b/src/lib/extensions/discord-akairo/BushInhibitorHandler.ts
@@ -1,4 +1,4 @@
-import { type BushClient } from '@lib';
+import { type BushClient } from '#lib';
import { InhibitorHandler } from 'discord-akairo';
export class BushInhibitorHandler extends InhibitorHandler {
diff --git a/src/lib/extensions/discord-akairo/BushListener.ts b/src/lib/extensions/discord-akairo/BushListener.ts
index e3c845c..28aefe5 100644
--- a/src/lib/extensions/discord-akairo/BushListener.ts
+++ b/src/lib/extensions/discord-akairo/BushListener.ts
@@ -1,4 +1,4 @@
-import { type BushClient } from '@lib';
+import { type BushClient } from '#lib';
import { Listener } from 'discord-akairo';
import type EventEmitter from 'events';
diff --git a/src/lib/extensions/discord-akairo/BushListenerHandler.ts b/src/lib/extensions/discord-akairo/BushListenerHandler.ts
index f5354e4..5a556c3 100644
--- a/src/lib/extensions/discord-akairo/BushListenerHandler.ts
+++ b/src/lib/extensions/discord-akairo/BushListenerHandler.ts
@@ -1,4 +1,4 @@
-import { type BushClient } from '@lib';
+import { type BushClient } from '#lib';
import { ListenerHandler } from 'discord-akairo';
export class BushListenerHandler extends ListenerHandler {
diff --git a/src/lib/extensions/discord-akairo/BushSlashMessage.ts b/src/lib/extensions/discord-akairo/BushSlashMessage.ts
index fd248b1..4e0c297 100644
--- a/src/lib/extensions/discord-akairo/BushSlashMessage.ts
+++ b/src/lib/extensions/discord-akairo/BushSlashMessage.ts
@@ -1,4 +1,4 @@
-import { type BushClient, type BushCommandUtil, type BushGuild, type BushGuildMember, type BushUser } from '@lib';
+import { type BushClient, type BushCommandUtil, type BushGuild, type BushGuildMember, type BushUser } from '#lib';
import { AkairoMessage } from 'discord-akairo';
import { type CommandInteraction } from 'discord.js';
diff --git a/src/lib/extensions/discord-akairo/BushTask.ts b/src/lib/extensions/discord-akairo/BushTask.ts
index 299e977..4a2068d 100644
--- a/src/lib/extensions/discord-akairo/BushTask.ts
+++ b/src/lib/extensions/discord-akairo/BushTask.ts
@@ -1,4 +1,4 @@
-import { type BushClient } from '@lib';
+import { type BushClient } from '#lib';
import { Task, type TaskOptions } from 'discord-akairo';
export class BushTask extends Task {
diff --git a/src/lib/extensions/discord-akairo/BushTaskHandler.ts b/src/lib/extensions/discord-akairo/BushTaskHandler.ts
index 8531ff1..d5ccad6 100644
--- a/src/lib/extensions/discord-akairo/BushTaskHandler.ts
+++ b/src/lib/extensions/discord-akairo/BushTaskHandler.ts
@@ -1,4 +1,4 @@
-import { type BushClient } from '@lib';
+import { type BushClient } from '#lib';
import { TaskHandler, type AkairoHandlerOptions } from 'discord-akairo';
export type BushTaskHandlerOptions = AkairoHandlerOptions;
diff --git a/src/lib/extensions/discord.js/BushActivity.ts b/src/lib/extensions/discord.js/BushActivity.ts
index 1da5fac..10d7f05 100644
--- a/src/lib/extensions/discord.js/BushActivity.ts
+++ b/src/lib/extensions/discord.js/BushActivity.ts
@@ -1,6 +1,6 @@
-import { type BushEmoji, type BushPresence } from '@lib';
+import type { BushEmoji, BushPresence } from '#lib';
import { Activity } from 'discord.js';
-import { type RawActivityData } from 'discord.js/typings/rawDataTypes';
+import type { RawActivityData } from 'discord.js/typings/rawDataTypes';
export class BushActivity extends Activity {
public declare emoji: BushEmoji | null;
diff --git a/src/lib/extensions/discord.js/BushApplicationCommand.ts b/src/lib/extensions/discord.js/BushApplicationCommand.ts
index 9dfba65..35d598d 100644
--- a/src/lib/extensions/discord.js/BushApplicationCommand.ts
+++ b/src/lib/extensions/discord.js/BushApplicationCommand.ts
@@ -1,7 +1,7 @@
/* eslint-disable @typescript-eslint/ban-types */
-import { type BushClient, type BushGuild } from '@lib';
+import type { BushClient, BushGuild } from '#lib';
import { ApplicationCommand, type Snowflake } from 'discord.js';
-import { type RawApplicationCommandData } from 'discord.js/typings/rawDataTypes';
+import type { RawApplicationCommandData } from 'discord.js/typings/rawDataTypes';
export class BushApplicationCommand<PermissionsFetchType = {}> extends ApplicationCommand<PermissionsFetchType> {
public declare readonly client: BushClient;
diff --git a/src/lib/extensions/discord.js/BushApplicationCommandManager.d.ts b/src/lib/extensions/discord.js/BushApplicationCommandManager.d.ts
index 89ad55d..7947acd 100644
--- a/src/lib/extensions/discord.js/BushApplicationCommandManager.d.ts
+++ b/src/lib/extensions/discord.js/BushApplicationCommandManager.d.ts
@@ -1,12 +1,18 @@
+import type {
+ BushApplicationCommand,
+ BushApplicationCommandPermissionsManager,
+ BushApplicationCommandResolvable,
+ BushClient,
+ BushGuildResolvable
+} from '#lib';
+import type { APIApplicationCommand } from 'discord-api-types';
import {
- type BushApplicationCommand,
- type BushApplicationCommandPermissionsManager,
- type BushApplicationCommandResolvable,
- type BushClient,
- type BushGuildResolvable
-} from '@lib';
-import { type APIApplicationCommand } from 'discord-api-types';
-import { CachedManager, type ApplicationCommandData, type Collection, type FetchApplicationCommandOptions, type Snowflake } from 'discord.js';
+ CachedManager,
+ type ApplicationCommandData,
+ type Collection,
+ type FetchApplicationCommandOptions,
+ type Snowflake
+} from 'discord.js';
export class BushApplicationCommandManager<
ApplicationCommandScope = BushApplicationCommand<{ guild: BushGuildResolvable }>,
diff --git a/src/lib/extensions/discord.js/BushApplicationCommandPermissionsManager.d.ts b/src/lib/extensions/discord.js/BushApplicationCommandPermissionsManager.d.ts
index 0fd47ac..5f2e4da 100644
--- a/src/lib/extensions/discord.js/BushApplicationCommandPermissionsManager.d.ts
+++ b/src/lib/extensions/discord.js/BushApplicationCommandPermissionsManager.d.ts
@@ -1,7 +1,8 @@
-import { type BushClient, type BushRoleResolvable, type BushUserResolvable } from '@lib';
-import { type APIApplicationCommandPermission } from 'discord-api-types';
+import type { BushClient, BushRoleResolvable, BushUserResolvable } from '#lib';
+import type { APIApplicationCommandPermission } from 'discord-api-types';
import {
- BaseManager, type ApplicationCommand,
+ BaseManager,
+ type ApplicationCommand,
type ApplicationCommandManager,
type ApplicationCommandPermissionData,
type ApplicationCommandPermissions,
@@ -10,7 +11,7 @@ import {
type GuildApplicationCommandPermissionData,
type Snowflake
} from 'discord.js';
-import { type ApplicationCommandPermissionTypes } from 'discord.js/typings/enums';
+import type { ApplicationCommandPermissionTypes } from 'discord.js/typings/enums';
export class BushApplicationCommandPermissionsManager<
BaseOptions,
diff --git a/src/lib/extensions/discord.js/BushBaseGuildEmojiManager.d.ts b/src/lib/extensions/discord.js/BushBaseGuildEmojiManager.d.ts
index b3704b6..7c913a9 100644
--- a/src/lib/extensions/discord.js/BushBaseGuildEmojiManager.d.ts
+++ b/src/lib/extensions/discord.js/BushBaseGuildEmojiManager.d.ts
@@ -1,4 +1,4 @@
-import { type BushClient, type BushEmojiIdentifierResolvable, type BushEmojiResolvable, type BushGuildEmoji } from '@lib';
+import type { BushClient, BushEmojiIdentifierResolvable, BushEmojiResolvable, BushGuildEmoji } from '#lib';
import { CachedManager, type Snowflake } from 'discord.js';
import { type RawGuildEmojiData } from 'discord.js/typings/rawDataTypes';
diff --git a/src/lib/extensions/discord.js/BushBaseGuildTextChannel.ts b/src/lib/extensions/discord.js/BushBaseGuildTextChannel.ts
index 38a8a7d..652a50f 100644
--- a/src/lib/extensions/discord.js/BushBaseGuildTextChannel.ts
+++ b/src/lib/extensions/discord.js/BushBaseGuildTextChannel.ts
@@ -1,11 +1,11 @@
-import {
- type BushCategoryChannel,
- type BushClient,
- type BushGuild,
- type BushGuildMember,
- type BushMessageManager,
- type BushThreadManager
-} from '@lib';
+import type {
+ BushCategoryChannel,
+ BushClient,
+ BushGuild,
+ BushGuildMember,
+ BushMessageManager,
+ BushThreadManager
+} from '#lib';
import {
BaseGuildTextChannel,
type AllowedThreadTypeForNewsChannel,
@@ -13,7 +13,7 @@ import {
type Collection,
type Snowflake
} from 'discord.js';
-import { type RawGuildChannelData } from 'discord.js/typings/rawDataTypes';
+import type { RawGuildChannelData } from 'discord.js/typings/rawDataTypes';
export class BushBaseGuildTextChannel extends BaseGuildTextChannel {
public constructor(guild: BushGuild, data?: RawGuildChannelData, client?: BushClient, immediatePatch?: boolean) {
diff --git a/src/lib/extensions/discord.js/BushButtonInteraction.ts b/src/lib/extensions/discord.js/BushButtonInteraction.ts
index 2146e5c..03ec881 100644
--- a/src/lib/extensions/discord.js/BushButtonInteraction.ts
+++ b/src/lib/extensions/discord.js/BushButtonInteraction.ts
@@ -1,7 +1,7 @@
-import { type BushClient, type BushGuild, type BushGuildMember, type BushTextBasedChannels, type BushUser } from '@lib';
-import { type APIInteractionGuildMember } from 'discord-api-types/v9';
+import type { BushClient, BushGuild, BushGuildMember, BushTextBasedChannels, BushUser } from '#lib';
+import type { APIInteractionGuildMember } from 'discord-api-types/v9';
import { ButtonInteraction, type CacheType, type CacheTypeReducer } from 'discord.js';
-import { type RawMessageButtonInteractionData } from 'discord.js/typings/rawDataTypes';
+import type { RawMessageButtonInteractionData } from 'discord.js/typings/rawDataTypes';
export class BushButtonInteraction<Cached extends CacheType = CacheType> extends ButtonInteraction<Cached> {
public declare readonly channel: CacheTypeReducer<Cached, BushTextBasedChannels | null>;
diff --git a/src/lib/extensions/discord.js/BushCategoryChannel.ts b/src/lib/extensions/discord.js/BushCategoryChannel.ts
index a97c21b..90f52dd 100644
--- a/src/lib/extensions/discord.js/BushCategoryChannel.ts
+++ b/src/lib/extensions/discord.js/BushCategoryChannel.ts
@@ -1,4 +1,4 @@
-import { type BushClient, type BushGuild, type BushGuildChannel, type BushGuildMember } from '@lib';
+import { type BushClient, type BushGuild, type BushGuildChannel, type BushGuildMember } from '#lib';
import { CategoryChannel, type Collection, type Snowflake } from 'discord.js';
import { type RawGuildChannelData } from 'discord.js/typings/rawDataTypes';
diff --git a/src/lib/extensions/discord.js/BushChannel.d.ts b/src/lib/extensions/discord.js/BushChannel.d.ts
index 1c47018..9a78b9a 100644
--- a/src/lib/extensions/discord.js/BushChannel.d.ts
+++ b/src/lib/extensions/discord.js/BushChannel.d.ts
@@ -1,7 +1,7 @@
-import { type BushClient, type BushStageChannel, type BushTextBasedChannels, type BushThreadChannel, type BushVoiceChannel } from '@lib';
+import type { BushClient, BushStageChannel, BushTextBasedChannels, BushThreadChannel, BushVoiceChannel } from '#lib';
import { Channel, type ChannelMention, type Snowflake } from 'discord.js';
-import { type ChannelTypes } from 'discord.js/typings/enums';
-import { type RawChannelData } from 'discord.js/typings/rawDataTypes';
+import type { ChannelTypes } from 'discord.js/typings/enums';
+import type { RawChannelData } from 'discord.js/typings/rawDataTypes';
export class BushChannel extends Channel {
public constructor(client: BushClient, data?: RawChannelData, immediatePatch?: boolean);
diff --git a/src/lib/extensions/discord.js/BushChannelManager.d.ts b/src/lib/extensions/discord.js/BushChannelManager.d.ts
index 7ebeb79..843b956 100644
--- a/src/lib/extensions/discord.js/BushChannelManager.d.ts
+++ b/src/lib/extensions/discord.js/BushChannelManager.d.ts
@@ -1,6 +1,6 @@
-import { type BushChannel, type BushChannelResolvable } from '@lib';
+import type { BushChannel, BushChannelResolvable } from '#lib';
import { CachedManager, type Client, type FetchChannelOptions, type Snowflake } from 'discord.js';
-import { type RawChannelData } from 'discord.js/typings/rawDataTypes';
+import type { RawChannelData } from 'discord.js/typings/rawDataTypes';
export class BushChannelManager extends CachedManager<Snowflake, BushChannel, BushChannelResolvable> {
public constructor(client: Client, iterable: Iterable<RawChannelData>);
diff --git a/src/lib/extensions/discord.js/BushClientEvents.d.ts b/src/lib/extensions/discord.js/BushClientEvents.d.ts
index 3e9fbf9..7d22064 100644
--- a/src/lib/extensions/discord.js/BushClientEvents.d.ts
+++ b/src/lib/extensions/discord.js/BushClientEvents.d.ts
@@ -1,41 +1,41 @@
-import {
- type BushApplicationCommand,
- type BushClient,
- type BushDMChannel,
- type BushGuild,
- type BushGuildBan,
- type BushGuildChannel,
- type BushGuildEmoji,
- type BushGuildMember,
- type BushMessage,
- type BushMessageReaction,
- type BushNewsChannel,
- type BushPresence,
- type BushRole,
- type BushStageInstance,
- type BushTextBasedChannels,
- type BushTextChannel,
- type BushThreadChannel,
- type BushThreadMember,
- type BushUser,
- type BushVoiceState,
- type Guild,
- type GuildSettings,
- type PartialBushGuildMember,
- type PartialBushMessage,
- type PartialBushMessageReaction,
- type PartialBushUser
-} from '@lib';
-import { type AkairoClientEvents } from 'discord-akairo';
-import {
- type Collection,
- type Interaction,
- type InvalidRequestWarningData,
- type Invite,
- type RateLimitData,
- type Snowflake,
- type Sticker,
- type Typing
+import type {
+ BushApplicationCommand,
+ BushClient,
+ BushDMChannel,
+ BushGuild,
+ BushGuildBan,
+ BushGuildChannel,
+ BushGuildEmoji,
+ BushGuildMember,
+ BushMessage,
+ BushMessageReaction,
+ BushNewsChannel,
+ BushPresence,
+ BushRole,
+ BushStageInstance,
+ BushTextBasedChannels,
+ BushTextChannel,
+ BushThreadChannel,
+ BushThreadMember,
+ BushUser,
+ BushVoiceState,
+ Guild,
+ GuildSettings,
+ PartialBushGuildMember,
+ PartialBushMessage,
+ PartialBushMessageReaction,
+ PartialBushUser
+} from '#lib';
+import type { AkairoClientEvents } from 'discord-akairo';
+import type {
+ Collection,
+ Interaction,
+ InvalidRequestWarningData,
+ Invite,
+ RateLimitData,
+ Snowflake,
+ Sticker,
+ Typing
} from 'discord.js';
export interface BushClientEvents extends AkairoClientEvents {
diff --git a/src/lib/extensions/discord.js/BushClientUser.d.ts b/src/lib/extensions/discord.js/BushClientUser.d.ts
index b045a75..c307553 100644
--- a/src/lib/extensions/discord.js/BushClientUser.d.ts
+++ b/src/lib/extensions/discord.js/BushClientUser.d.ts
@@ -1,11 +1,11 @@
-import {
- type ActivityOptions,
- type Base64Resolvable,
- type BufferResolvable,
- type ClientPresence,
- type ClientUserEditData,
- type PresenceData,
- type PresenceStatusData
+import type {
+ ActivityOptions,
+ Base64Resolvable,
+ BufferResolvable,
+ ClientPresence,
+ ClientUserEditData,
+ PresenceData,
+ PresenceStatusData
} from 'discord.js';
import { BushUser } from './BushUser';
diff --git a/src/lib/extensions/discord.js/BushCommandInteraction.ts b/src/lib/extensions/discord.js/BushCommandInteraction.ts
index 4202cfd..3cbef57 100644
--- a/src/lib/extensions/discord.js/BushCommandInteraction.ts
+++ b/src/lib/extensions/discord.js/BushCommandInteraction.ts
@@ -1,15 +1,15 @@
-import {
- type BushApplicationCommand,
- type BushGuild,
- type BushGuildChannel,
- type BushGuildEmoji,
- type BushGuildMember,
- type BushRole,
- type BushUser
-} from '@lib';
-import { type APIInteractionGuildMember } from 'discord-api-types/v9';
+import type {
+ BushApplicationCommand,
+ BushGuild,
+ BushGuildChannel,
+ BushGuildEmoji,
+ BushGuildMember,
+ BushRole,
+ BushUser
+} from '#lib';
+import type { APIInteractionGuildMember } from 'discord-api-types/v9';
import { CommandInteraction, type CacheType, type CacheTypeReducer, type Invite, type Snowflake } from 'discord.js';
-import { type RawCommandInteractionData } from 'discord.js/typings/rawDataTypes';
+import type { RawCommandInteractionData } from 'discord.js/typings/rawDataTypes';
import { BushTextBasedChannels, type BushClient } from '../discord-akairo/BushClient';
export type BushGuildResolvable = BushGuild | BushGuildChannel | BushGuildMember | BushGuildEmoji | Invite | BushRole | Snowflake;
diff --git a/src/lib/extensions/discord.js/BushDMChannel.ts b/src/lib/extensions/discord.js/BushDMChannel.ts
index 9730c30..ca08d7e 100644
--- a/src/lib/extensions/discord.js/BushDMChannel.ts
+++ b/src/lib/extensions/discord.js/BushDMChannel.ts
@@ -1,6 +1,6 @@
-import { type BushClient, type BushMessageManager, type BushUser } from '@lib';
+import type { BushClient, BushMessageManager, BushUser } from '#lib';
import { DMChannel } from 'discord.js';
-import { type RawDMChannelData } from 'discord.js/typings/rawDataTypes';
+import type { RawDMChannelData } from 'discord.js/typings/rawDataTypes';
export class BushDMChannel extends DMChannel {
public declare readonly client: BushClient;
diff --git a/src/lib/extensions/discord.js/BushEmoji.ts b/src/lib/extensions/discord.js/BushEmoji.ts
index fc27a99..4c97fee 100644
--- a/src/lib/extensions/discord.js/BushEmoji.ts
+++ b/src/lib/extensions/discord.js/BushEmoji.ts
@@ -1,6 +1,6 @@
-import { type BushClient } from '@lib';
+import type { BushClient } from '#lib';
import { Emoji } from 'discord.js';
-import { type RawEmojiData } from 'discord.js/typings/rawDataTypes';
+import type { RawEmojiData } from 'discord.js/typings/rawDataTypes';
export class BushEmoji extends Emoji {
public declare readonly client: BushClient;
diff --git a/src/lib/extensions/discord.js/BushGuild.ts b/src/lib/extensions/discord.js/BushGuild.ts
index dff9d85..dd01c55 100644
--- a/src/lib/extensions/discord.js/BushGuild.ts
+++ b/src/lib/extensions/discord.js/BushGuild.ts
@@ -1,19 +1,19 @@
-import {
- type BushClient,
- type BushGuildMember,
- type BushGuildMemberManager,
- type BushTextChannel,
- type BushUser,
- type BushUserResolvable,
- type GuildFeatures,
- type GuildLogType,
- type GuildModel
-} from '@lib';
+import type {
+ BushClient,
+ BushGuildMember,
+ BushGuildMemberManager,
+ BushTextChannel,
+ BushUser,
+ BushUserResolvable,
+ GuildFeatures,
+ GuildLogType,
+ GuildModel
+} from '#lib';
import { Guild, type MessageOptions, type UserResolvable } from 'discord.js';
-import { type RawGuildData } from 'discord.js/typings/rawDataTypes';
-import { Moderation } from '../../common/Moderation';
-import { Guild as GuildDB } from '../../models/Guild';
-import { ModLogType } from '../../models/ModLog';
+import type { RawGuildData } from 'discord.js/typings/rawDataTypes';
+import { Moderation } from '../../common/Moderation.js';
+import { Guild as GuildDB } from '../../models/Guild.js';
+import { ModLogType } from '../../models/ModLog.js';
export class BushGuild extends Guild {
public declare readonly client: BushClient;
diff --git a/src/lib/extensions/discord.js/BushGuildApplicationCommandManager.d.ts b/src/lib/extensions/discord.js/BushGuildApplicationCommandManager.d.ts
index 3c71a01..f8e80ae 100644
--- a/src/lib/extensions/discord.js/BushGuildApplicationCommandManager.d.ts
+++ b/src/lib/extensions/discord.js/BushGuildApplicationCommandManager.d.ts
@@ -5,9 +5,9 @@ import {
type BushApplicationCommandResolvable,
type BushClient,
type BushGuild
-} from '@lib';
-import { type ApplicationCommandData, type BaseFetchOptions, type Collection, type Snowflake } from 'discord.js';
-import { type RawApplicationCommandData } from 'discord.js/typings/rawDataTypes';
+} from '#lib';
+import type { ApplicationCommandData, BaseFetchOptions, Collection, Snowflake } from 'discord.js';
+import type { RawApplicationCommandData } from 'discord.js/typings/rawDataTypes';
export class BushGuildApplicationCommandManager extends BushApplicationCommandManager<BushApplicationCommand, {}, BushGuild> {
public constructor(guild: BushGuild, iterable?: Iterable<RawApplicationCommandData>);
diff --git a/src/lib/extensions/discord.js/BushGuildBan.d.ts b/src/lib/extensions/discord.js/BushGuildBan.d.ts
index 5d50bb4..4287792 100644
--- a/src/lib/extensions/discord.js/BushGuildBan.d.ts
+++ b/src/lib/extensions/discord.js/BushGuildBan.d.ts
@@ -1,6 +1,6 @@
-import { type BushClient, type BushGuild, type BushUser } from '@lib';
+import type { BushClient, BushGuild, BushUser } from '#lib';
import { GuildBan } from 'discord.js';
-import { type RawGuildBanData } from 'discord.js/typings/rawDataTypes';
+import type { RawGuildBanData } from 'discord.js/typings/rawDataTypes';
export class BushGuildBan extends GuildBan {
public constructor(client: BushClient, data: RawGuildBanData, guild: BushGuild);
diff --git a/src/lib/extensions/discord.js/BushGuildChannel.ts b/src/lib/extensions/discord.js/BushGuildChannel.ts
index ee51c3b..ddf4c9a 100644
--- a/src/lib/extensions/discord.js/BushGuildChannel.ts
+++ b/src/lib/extensions/discord.js/BushGuildChannel.ts
@@ -1,6 +1,6 @@
-import { type BushClient, type BushGuild } from '@lib';
+import type { BushClient, BushGuild } from '#lib';
import { GuildChannel } from 'discord.js';
-import { type RawGuildChannelData } from 'discord.js/typings/rawDataTypes';
+import type { RawGuildChannelData } from 'discord.js/typings/rawDataTypes';
export class BushGuildChannel extends GuildChannel {
public declare readonly client: BushClient;
diff --git a/src/lib/extensions/discord.js/BushGuildEmoji.ts b/src/lib/extensions/discord.js/BushGuildEmoji.ts
index 8d5493b..f3a7491 100644
--- a/src/lib/extensions/discord.js/BushGuildEmoji.ts
+++ b/src/lib/extensions/discord.js/BushGuildEmoji.ts
@@ -1,6 +1,6 @@
-import { type BushClient, type BushGuild, type BushGuildEmojiRoleManager, type BushUser } from '@lib';
+import type { BushClient, BushGuild, BushGuildEmojiRoleManager, BushUser } from '#lib';
import { GuildEmoji } from 'discord.js';
-import { type RawGuildEmojiData } from 'discord.js/typings/rawDataTypes';
+import type { RawGuildEmojiData } from 'discord.js/typings/rawDataTypes';
export class BushGuildEmoji extends GuildEmoji {
public declare readonly client: BushClient;
diff --git a/src/lib/extensions/discord.js/BushGuildEmojiRoleManager.d.ts b/src/lib/extensions/discord.js/BushGuildEmojiRoleManager.d.ts
index 8b886bd..3aae4f0 100644
--- a/src/lib/extensions/discord.js/BushGuildEmojiRoleManager.d.ts
+++ b/src/lib/extensions/discord.js/BushGuildEmojiRoleManager.d.ts
@@ -1,4 +1,4 @@
-import { type BushClient, type BushGuild, type BushGuildEmoji, type BushRole, type BushRoleResolvable } from '@lib';
+import type { BushClient, BushGuild, BushGuildEmoji, BushRole, BushRoleResolvable } from '#lib';
import { DataManager, type Collection, type Snowflake } from 'discord.js';
export class BushGuildEmojiRoleManager extends DataManager<Snowflake, BushRole, BushRoleResolvable> {
diff --git a/src/lib/extensions/discord.js/BushGuildManager.d.ts b/src/lib/extensions/discord.js/BushGuildManager.d.ts
index 1a56b8f..5bb8822 100644
--- a/src/lib/extensions/discord.js/BushGuildManager.d.ts
+++ b/src/lib/extensions/discord.js/BushGuildManager.d.ts
@@ -1,4 +1,4 @@
-import { type BushClient, type BushGuild, type BushGuildResolvable } from '@lib';
+import type { BushClient, BushGuild, BushGuildResolvable } from '#lib';
import {
CachedManager,
type Collection,
diff --git a/src/lib/extensions/discord.js/BushGuildMember.ts b/src/lib/extensions/discord.js/BushGuildMember.ts
index 32f0156..0667646 100644
--- a/src/lib/extensions/discord.js/BushGuildMember.ts
+++ b/src/lib/extensions/discord.js/BushGuildMember.ts
@@ -1,6 +1,6 @@
-import { Moderation, ModLogType, type BushClient, type BushGuild, type BushRole, type BushUser } from '@lib';
+import { Moderation, ModLogType, type BushClient, type BushGuild, type BushRole, type BushUser } from '#lib';
import { GuildMember, MessageEmbed, type Partialize, type Role } from 'discord.js';
-import { type RawGuildMemberData } from 'discord.js/typings/rawDataTypes';
+import type { RawGuildMemberData } from 'discord.js/typings/rawDataTypes';
interface BushPunishmentOptions {
reason?: string | null;
diff --git a/src/lib/extensions/discord.js/BushGuildMemberManager.d.ts b/src/lib/extensions/discord.js/BushGuildMemberManager.d.ts
index f5e0846..8b1248c 100644
--- a/src/lib/extensions/discord.js/BushGuildMemberManager.d.ts
+++ b/src/lib/extensions/discord.js/BushGuildMemberManager.d.ts
@@ -1,11 +1,11 @@
-import {
- type BushClient,
- type BushGuild,
- type BushGuildMember,
- type BushGuildMemberResolvable,
- type BushUser,
- type BushUserResolvable
-} from '@lib';
+import type {
+ BushClient,
+ BushGuild,
+ BushGuildMember,
+ BushGuildMemberResolvable,
+ BushUser,
+ BushUserResolvable
+} from '#lib';
import {
CachedManager,
type AddGuildMemberOptions,
@@ -19,7 +19,7 @@ import {
type GuildSearchMembersOptions,
type Snowflake
} from 'discord.js';
-import { type RawGuildMemberData } from 'discord.js/typings/rawDataTypes';
+import type { RawGuildMemberData } from 'discord.js/typings/rawDataTypes';
export class BushGuildMemberManager extends CachedManager<Snowflake, BushGuildMember, BushGuildMemberResolvable> {
public constructor(guild: BushGuild, iterable?: Iterable<RawGuildMemberData>);
diff --git a/src/lib/extensions/discord.js/BushMessage.ts b/src/lib/extensions/discord.js/BushMessage.ts
index d64ac6e..83ae59b 100644
--- a/src/lib/extensions/discord.js/BushMessage.ts
+++ b/src/lib/extensions/discord.js/BushMessage.ts
@@ -1,14 +1,14 @@
-import {
- type BushClient,
- type BushCommandUtil,
- type BushGuild,
- type BushGuildMember,
- type BushGuildTextBasedChannel,
- type BushTextBasedChannels,
- type BushUser
-} from '@lib';
+import type {
+ BushClient,
+ BushCommandUtil,
+ BushGuild,
+ BushGuildMember,
+ BushGuildTextBasedChannel,
+ BushTextBasedChannels,
+ BushUser
+} from '#lib';
import { Message, type If, type Partialize } from 'discord.js';
-import { type RawMessageData } from 'discord.js/typings/rawDataTypes';
+import type { RawMessageData } from 'discord.js/typings/rawDataTypes';
export type PartialBushMessage = Partialize<
BushMessage,
diff --git a/src/lib/extensions/discord.js/BushMessageManager.d.ts b/src/lib/extensions/discord.js/BushMessageManager.d.ts
index 98a24d8..9ded94c 100644
--- a/src/lib/extensions/discord.js/BushMessageManager.d.ts
+++ b/src/lib/extensions/discord.js/BushMessageManager.d.ts
@@ -1,13 +1,14 @@
-import { BushMessageResolvable, type BushMessage, type BushTextBasedChannels } from '@lib';
+import { BushMessageResolvable, type BushMessage, type BushTextBasedChannels } from '#lib';
import {
- CachedManager, type BaseFetchOptions,
- type ChannelLogsQueryOptions,
- type Collection,
- type EmojiIdentifierResolvable,
- type MessageEditOptions,
- type MessagePayload, type Snowflake
+ CachedManager,
+ type BaseFetchOptions,
+ type ChannelLogsQueryOptions,
+ type Collection,
+ type EmojiIdentifierResolvable,
+ type MessageEditOptions,
+ type MessagePayload, type Snowflake
} from 'discord.js';
-import { type RawMessageData } from 'discord.js/typings/rawDataTypes';
+import type { RawMessageData } from 'discord.js/typings/rawDataTypes';
export class BushMessageManager extends CachedManager<Snowflake, BushMessage, BushMessageResolvable> {
public constructor(channel: BushTextBasedChannels, iterable?: Iterable<RawMessageData>);
diff --git a/src/lib/extensions/discord.js/BushMessageReaction.ts b/src/lib/extensions/discord.js/BushMessageReaction.ts
index b56ae28..51b439a 100644
--- a/src/lib/extensions/discord.js/BushMessageReaction.ts
+++ b/src/lib/extensions/discord.js/BushMessageReaction.ts
@@ -1,6 +1,6 @@
-import { type BushClient, type BushGuildEmoji, type BushMessage, type BushReactionEmoji } from '@lib';
+import type { BushClient, BushGuildEmoji, BushMessage, BushReactionEmoji } from '#lib';
import { MessageReaction, type Partialize } from 'discord.js';
-import { type RawMessageReactionData } from 'discord.js/typings/rawDataTypes';
+import type { RawMessageReactionData } from 'discord.js/typings/rawDataTypes';
export type PartialBushMessageReaction = Partialize<BushMessageReaction, 'count'>;
diff --git a/src/lib/extensions/discord.js/BushNewsChannel.ts b/src/lib/extensions/discord.js/BushNewsChannel.ts
index f30de3e..716c57d 100644
--- a/src/lib/extensions/discord.js/BushNewsChannel.ts
+++ b/src/lib/extensions/discord.js/BushNewsChannel.ts
@@ -1,4 +1,4 @@
-import { type BushGuild, type BushGuildMember, type BushMessageManager, type BushThreadManager } from '@lib';
+import type { BushGuild, BushGuildMember, BushMessageManager, BushThreadManager } from '#lib';
import { NewsChannel, type AllowedThreadTypeForNewsChannel, type Collection, type Snowflake } from 'discord.js';
export class BushNewsChannel extends NewsChannel {
diff --git a/src/lib/extensions/discord.js/BushPresence.ts b/src/lib/extensions/discord.js/BushPresence.ts
index c5464a5..60408f0 100644
--- a/src/lib/extensions/discord.js/BushPresence.ts
+++ b/src/lib/extensions/discord.js/BushPresence.ts
@@ -1,6 +1,6 @@
-import { type BushClient, type BushGuild, type BushGuildMember, type BushUser } from '@lib';
+import type { BushClient, BushGuild, BushGuildMember, BushUser } from '#lib';
import { Presence } from 'discord.js';
-import { type RawPresenceData } from 'discord.js/typings/rawDataTypes';
+import type { RawPresenceData } from 'discord.js/typings/rawDataTypes';
export class BushPresence extends Presence {
public declare guild: BushGuild | null;
diff --git a/src/lib/extensions/discord.js/BushReactionEmoji.ts b/src/lib/extensions/discord.js/BushReactionEmoji.ts
index 5dd3d92..2e87183 100644
--- a/src/lib/extensions/discord.js/BushReactionEmoji.ts
+++ b/src/lib/extensions/discord.js/BushReactionEmoji.ts
@@ -1,6 +1,6 @@
-import { type BushMessageReaction } from '@lib';
+import type { BushMessageReaction } from '#lib';
import { ReactionEmoji } from 'discord.js';
-import { type RawReactionEmojiData } from 'discord.js/typings/rawDataTypes';
+import type { RawReactionEmojiData } from 'discord.js/typings/rawDataTypes';
export class BushReactionEmoji extends ReactionEmoji {
public declare reaction: BushMessageReaction;
diff --git a/src/lib/extensions/discord.js/BushRole.ts b/src/lib/extensions/discord.js/BushRole.ts
index b610699..10757c1 100644
--- a/src/lib/extensions/discord.js/BushRole.ts
+++ b/src/lib/extensions/discord.js/BushRole.ts
@@ -1,6 +1,6 @@
-import { type BushClient, type BushGuild, type BushGuildMember } from '@lib';
+import type { BushClient, BushGuild, BushGuildMember } from '#lib';
import { Role, type Collection, type Snowflake } from 'discord.js';
-import { type RawRoleData } from 'discord.js/typings/rawDataTypes';
+import type { RawRoleData } from 'discord.js/typings/rawDataTypes';
export class BushRole extends Role {
public declare guild: BushGuild;
diff --git a/src/lib/extensions/discord.js/BushSelectMenuInteraction.ts b/src/lib/extensions/discord.js/BushSelectMenuInteraction.ts
index cffc099..7581236 100644
--- a/src/lib/extensions/discord.js/BushSelectMenuInteraction.ts
+++ b/src/lib/extensions/discord.js/BushSelectMenuInteraction.ts
@@ -1,7 +1,7 @@
-import { type BushClient, type BushGuild, type BushGuildMember, type BushTextBasedChannels, type BushUser } from '@lib';
-import { type APIInteractionGuildMember } from 'discord-api-types/v9';
+import type { BushClient, BushGuild, BushGuildMember, BushTextBasedChannels, BushUser } from '#lib';
+import type { APIInteractionGuildMember } from 'discord-api-types/v9';
import { SelectMenuInteraction, type CacheType, type CacheTypeReducer } from 'discord.js';
-import { type RawMessageSelectMenuInteractionData } from 'discord.js/typings/rawDataTypes';
+import type { RawMessageSelectMenuInteractionData } from 'discord.js/typings/rawDataTypes';
export class BushSelectMenuInteraction<Cached extends CacheType = CacheType> extends SelectMenuInteraction<Cached> {
public declare readonly channel: CacheTypeReducer<Cached, BushTextBasedChannels | null>;
diff --git a/src/lib/extensions/discord.js/BushStageChannel.ts b/src/lib/extensions/discord.js/BushStageChannel.ts
index a5b6b53..5b1fd88 100644
--- a/src/lib/extensions/discord.js/BushStageChannel.ts
+++ b/src/lib/extensions/discord.js/BushStageChannel.ts
@@ -1,6 +1,6 @@
-import { type BushCategoryChannel, type BushGuild, type BushGuildMember, type BushStageInstance } from '@lib';
+import type { BushCategoryChannel, BushGuild, BushGuildMember, BushStageInstance } from '#lib';
import { StageChannel, type Collection, type Snowflake } from 'discord.js';
-import { type RawGuildChannelData } from 'discord.js/typings/rawDataTypes';
+import type { RawGuildChannelData } from 'discord.js/typings/rawDataTypes';
export class BushStageChannel extends StageChannel {
public declare readonly instance: BushStageInstance | null;
diff --git a/src/lib/extensions/discord.js/BushStageInstance.ts b/src/lib/extensions/discord.js/BushStageInstance.ts
index 4ebfc3c..67b1030 100644
--- a/src/lib/extensions/discord.js/BushStageInstance.ts
+++ b/src/lib/extensions/discord.js/BushStageInstance.ts
@@ -1,6 +1,6 @@
-import { type BushClient, type BushGuild, type BushStageChannel } from '@lib';
+import type { BushClient, BushGuild, BushStageChannel } from '#lib';
import { StageInstance } from 'discord.js';
-import { type RawStageInstanceData } from 'discord.js/typings/rawDataTypes';
+import type { RawStageInstanceData } from 'discord.js/typings/rawDataTypes';
export class BushStageInstance extends StageInstance {
public declare readonly channel: BushStageChannel | null;
diff --git a/src/lib/extensions/discord.js/BushStoreChannel.ts b/src/lib/extensions/discord.js/BushStoreChannel.ts
index 5b9def0..8540936 100644
--- a/src/lib/extensions/discord.js/BushStoreChannel.ts
+++ b/src/lib/extensions/discord.js/BushStoreChannel.ts
@@ -1,6 +1,6 @@
-import { type BushCategoryChannel, type BushClient, type BushGuild, type BushGuildMember } from '@lib';
+import type { BushCategoryChannel, BushClient, BushGuild, BushGuildMember } from '#lib';
import { StoreChannel, type Collection, type Snowflake } from 'discord.js';
-import { type RawGuildChannelData } from 'discord.js/typings/rawDataTypes';
+import type { RawGuildChannelData } from 'discord.js/typings/rawDataTypes';
export class BushStoreChannel extends StoreChannel {
public declare guild: BushGuild;
diff --git a/src/lib/extensions/discord.js/BushTextChannel.ts b/src/lib/extensions/discord.js/BushTextChannel.ts
index 5001ddb..57a0598 100644
--- a/src/lib/extensions/discord.js/BushTextChannel.ts
+++ b/src/lib/extensions/discord.js/BushTextChannel.ts
@@ -1,6 +1,6 @@
-import { type BushGuild, type BushMessageManager, type BushThreadManager } from '@lib';
+import type { BushGuild, BushMessageManager, BushThreadManager } from '#lib';
import { TextChannel, type AllowedThreadTypeForTextChannel } from 'discord.js';
-import { type RawGuildChannelData } from 'discord.js/typings/rawDataTypes';
+import type { RawGuildChannelData } from 'discord.js/typings/rawDataTypes';
export class BushTextChannel extends TextChannel {
public declare guild: BushGuild;
diff --git a/src/lib/extensions/discord.js/BushThreadChannel.ts b/src/lib/extensions/discord.js/BushThreadChannel.ts
index 9319651..ea4b07c 100644
--- a/src/lib/extensions/discord.js/BushThreadChannel.ts
+++ b/src/lib/extensions/discord.js/BushThreadChannel.ts
@@ -1,14 +1,14 @@
-import {
- type BushClient,
- type BushGuild,
- type BushGuildMember,
- type BushMessageManager,
- type BushNewsChannel,
- type BushTextChannel,
- type BushThreadMemberManager
-} from '@lib';
+import type {
+ BushClient,
+ BushGuild,
+ BushGuildMember,
+ BushMessageManager,
+ BushNewsChannel,
+ BushTextChannel,
+ BushThreadMemberManager
+} from '#lib';
import { ThreadChannel, type Collection, type Snowflake } from 'discord.js';
-import { type RawThreadChannelData } from 'discord.js/typings/rawDataTypes';
+import type { RawThreadChannelData } from 'discord.js/typings/rawDataTypes';
export class BushThreadChannel extends ThreadChannel {
public declare guild: BushGuild;
diff --git a/src/lib/extensions/discord.js/BushThreadManager.d.ts b/src/lib/extensions/discord.js/BushThreadManager.d.ts
index 86e85a9..6822a80 100644
--- a/src/lib/extensions/discord.js/BushThreadManager.d.ts
+++ b/src/lib/extensions/discord.js/BushThreadManager.d.ts
@@ -1,6 +1,6 @@
-import {
- type BushThreadChannel
-} from '@lib';
+import type {
+ BushThreadChannel
+} from '#lib';
import {
CachedManager,
FetchedThreads,
@@ -14,7 +14,7 @@ import {
type ThreadChannelResolvable,
type ThreadCreateOptions
} from 'discord.js';
-import { type RawThreadChannelData } from 'discord.js/typings/rawDataTypes';
+import type { RawThreadChannelData } from 'discord.js/typings/rawDataTypes';
export class BushThreadManager<AllowedThreadType> extends CachedManager<Snowflake, BushThreadChannel, ThreadChannelResolvable> {
public constructor(channel: TextChannel | NewsChannel, iterable?: Iterable<RawThreadChannelData>);
diff --git a/src/lib/extensions/discord.js/BushThreadMember.ts b/src/lib/extensions/discord.js/BushThreadMember.ts
index 70bd26f..db63d01 100644
--- a/src/lib/extensions/discord.js/BushThreadMember.ts
+++ b/src/lib/extensions/discord.js/BushThreadMember.ts
@@ -1,6 +1,6 @@
-import { type BushGuildMember, type BushThreadChannel, type BushUser } from '@lib';
+import type { BushGuildMember, BushThreadChannel, BushUser } from '#lib';
import { ThreadMember } from 'discord.js';
-import { type RawThreadMemberData } from 'discord.js/typings/rawDataTypes';
+import type { RawThreadMemberData } from 'discord.js/typings/rawDataTypes';
export class BushThreadMember extends ThreadMember {
public declare readonly guildMember: BushGuildMember | null;
diff --git a/src/lib/extensions/discord.js/BushThreadMemberManager.d.ts b/src/lib/extensions/discord.js/BushThreadMemberManager.d.ts
index 34346aa..082d87c 100644
--- a/src/lib/extensions/discord.js/BushThreadMemberManager.d.ts
+++ b/src/lib/extensions/discord.js/BushThreadMemberManager.d.ts
@@ -1,4 +1,4 @@
-import { type BushClient, type BushThreadChannel, type BushThreadMember, type BushThreadMemberResolvable } from '@lib';
+import type { BushClient, BushThreadChannel, BushThreadMember, BushThreadMemberResolvable } from '#lib';
import {
CachedManager,
type BaseFetchOptions,
@@ -6,7 +6,7 @@ import {
type Snowflake,
type UserResolvable
} from 'discord.js';
-import { type RawThreadMemberData } from 'discord.js/typings/rawDataTypes';
+import type { RawThreadMemberData } from 'discord.js/typings/rawDataTypes';
export class BushThreadMemberManager extends CachedManager<Snowflake, BushThreadMember, BushThreadMemberResolvable> {
public constructor(thread: BushThreadChannel, iterable?: Iterable<RawThreadMemberData>);
diff --git a/src/lib/extensions/discord.js/BushUser.ts b/src/lib/extensions/discord.js/BushUser.ts
index 6cfe6e9..e7f232a 100644
--- a/src/lib/extensions/discord.js/BushUser.ts
+++ b/src/lib/extensions/discord.js/BushUser.ts
@@ -1,6 +1,6 @@
-import { type BushClient, type BushDMChannel } from '@lib';
+import type { BushClient, BushDMChannel } from '#lib';
import { User, type Partialize } from 'discord.js';
-import { type RawUserData } from 'discord.js/typings/rawDataTypes';
+import type { RawUserData } from 'discord.js/typings/rawDataTypes';
export type PartialBushUser = Partialize<BushUser, 'username' | 'tag' | 'discriminator' | 'isOwner' | 'isSuperUser'>;
diff --git a/src/lib/extensions/discord.js/BushUserManager.d.ts b/src/lib/extensions/discord.js/BushUserManager.d.ts
index f3fffac..595332a 100644
--- a/src/lib/extensions/discord.js/BushUserManager.d.ts
+++ b/src/lib/extensions/discord.js/BushUserManager.d.ts
@@ -1,6 +1,6 @@
-import { type BushClient, type BushUser, type BushUserResolvable } from '@lib';
+import type { BushClient, BushUser, BushUserResolvable } from '#lib';
import { CachedManager, type BaseFetchOptions, type Snowflake } from 'discord.js';
-import { type RawUserData } from 'discord.js/typings/rawDataTypes';
+import type { RawUserData } from 'discord.js/typings/rawDataTypes';
export class BushUserManager extends CachedManager<Snowflake, BushUser, BushUserResolvable> {
public constructor(client: BushClient, iterable?: Iterable<RawUserData>);
diff --git a/src/lib/extensions/discord.js/BushVoiceChannel.ts b/src/lib/extensions/discord.js/BushVoiceChannel.ts
index 15a402f..f65906e 100644
--- a/src/lib/extensions/discord.js/BushVoiceChannel.ts
+++ b/src/lib/extensions/discord.js/BushVoiceChannel.ts
@@ -1,6 +1,6 @@
-import { type BushClient, type BushGuild, type BushGuildMember } from '@lib';
+import type { BushClient, BushGuild, BushGuildMember } from '#lib';
import { VoiceChannel, type Collection, type Snowflake } from 'discord.js';
-import { type RawGuildChannelData } from 'discord.js/typings/rawDataTypes';
+import type { RawGuildChannelData } from 'discord.js/typings/rawDataTypes';
export class BushVoiceChannel extends VoiceChannel {
public declare readonly client: BushClient;
diff --git a/src/lib/extensions/discord.js/BushVoiceState.ts b/src/lib/extensions/discord.js/BushVoiceState.ts
index 7889f3b..167a369 100644
--- a/src/lib/extensions/discord.js/BushVoiceState.ts
+++ b/src/lib/extensions/discord.js/BushVoiceState.ts
@@ -1,6 +1,6 @@
-import { type BushGuild, type BushGuildMember, type BushStageChannel, type BushVoiceChannel } from '@lib';
+import type { BushGuild, BushGuildMember, BushStageChannel, BushVoiceChannel } from '#lib';
import { VoiceState } from 'discord.js';
-import { type RawVoiceStateData } from 'discord.js/typings/rawDataTypes';
+import type { RawVoiceStateData } from 'discord.js/typings/rawDataTypes';
export class BushVoiceState extends VoiceState {
// public declare readonly client: BushClient;
diff --git a/src/lib/extensions/global.d.ts b/src/lib/extensions/global.d.ts
index 5274fd2..1a30056 100644
--- a/src/lib/extensions/global.d.ts
+++ b/src/lib/extensions/global.d.ts
@@ -1,6 +1,5 @@
/* eslint-disable no-var */
-import { BushClient } from './discord-akairo/BushClient';
-import { BushClientUtil } from './discord-akairo/BushClientUtil';
+import type { BushClient, BushClientUtil } from '#lib';
declare global {
var client: BushClient;
var util: BushClientUtil;
diff --git a/src/lib/index.ts b/src/lib/index.ts
index da02888..65a6e74 100644
--- a/src/lib/index.ts
+++ b/src/lib/index.ts
@@ -1,78 +1,78 @@
-export * from './common/AutoMod';
-export * from './common/ButtonPaginator';
-export * from './common/DeleteButton';
-export * from './common/Format';
-export * from './common/Moderation';
-export type { BushInspectOptions } from './common/typings/BushInspectOptions';
-export type { CodeBlockLang } from './common/typings/CodeBlockLang';
-export * from './common/util/Arg';
-export * from './extensions/discord-akairo/BushArgumentTypeCaster';
-export * from './extensions/discord-akairo/BushClient';
-export * from './extensions/discord-akairo/BushClientUtil';
-export * from './extensions/discord-akairo/BushCommand';
-export * from './extensions/discord-akairo/BushCommandHandler';
-export * from './extensions/discord-akairo/BushCommandUtil';
-export * from './extensions/discord-akairo/BushInhibitor';
-export * from './extensions/discord-akairo/BushInhibitorHandler';
-export * from './extensions/discord-akairo/BushListener';
-export * from './extensions/discord-akairo/BushListenerHandler';
-export * from './extensions/discord-akairo/BushSlashMessage';
-export * from './extensions/discord-akairo/BushTask';
-export * from './extensions/discord-akairo/BushTaskHandler';
-export * from './extensions/discord.js/BushActivity';
-export * from './extensions/discord.js/BushApplicationCommand';
-export type { BushApplicationCommandManager } from './extensions/discord.js/BushApplicationCommandManager';
-export type { BushApplicationCommandPermissionsManager } from './extensions/discord.js/BushApplicationCommandPermissionsManager';
-export type { BushBaseGuildEmojiManager } from './extensions/discord.js/BushBaseGuildEmojiManager';
-export * from './extensions/discord.js/BushButtonInteraction';
-export * from './extensions/discord.js/BushCategoryChannel';
-export type { BushChannel } from './extensions/discord.js/BushChannel';
-export type { BushChannelManager } from './extensions/discord.js/BushChannelManager';
-export type { BushClientEvents } from './extensions/discord.js/BushClientEvents';
-export type { BushClientUser } from './extensions/discord.js/BushClientUser';
-export * from './extensions/discord.js/BushCommandInteraction';
-export * from './extensions/discord.js/BushDMChannel';
-export * from './extensions/discord.js/BushEmoji';
-export * from './extensions/discord.js/BushGuild';
-export type { BushGuildApplicationCommandManager } from './extensions/discord.js/BushGuildApplicationCommandManager';
-export type { BushGuildBan } from './extensions/discord.js/BushGuildBan';
-export * from './extensions/discord.js/BushGuildChannel';
-export * from './extensions/discord.js/BushGuildEmoji';
-export type { BushGuildEmojiRoleManager } from './extensions/discord.js/BushGuildEmojiRoleManager';
-export type { BushGuildManager } from './extensions/discord.js/BushGuildManager';
-export * from './extensions/discord.js/BushGuildMember';
-export type { BushGuildMemberManager } from './extensions/discord.js/BushGuildMemberManager';
-export * from './extensions/discord.js/BushMessage';
-export type { BushMessageManager } from './extensions/discord.js/BushMessageManager';
-export * from './extensions/discord.js/BushMessageReaction';
-export * from './extensions/discord.js/BushNewsChannel';
-export * from './extensions/discord.js/BushPresence';
-export * from './extensions/discord.js/BushReactionEmoji';
-export * from './extensions/discord.js/BushRole';
-export * from './extensions/discord.js/BushSelectMenuInteraction';
-export * from './extensions/discord.js/BushStageChannel';
-export * from './extensions/discord.js/BushStageInstance';
-export * from './extensions/discord.js/BushStoreChannel';
-export * from './extensions/discord.js/BushTextChannel';
-export * from './extensions/discord.js/BushThreadChannel';
-export type { BushThreadManager } from './extensions/discord.js/BushThreadManager';
-export * from './extensions/discord.js/BushThreadMember';
-export type { BushThreadMemberManager } from './extensions/discord.js/BushThreadMemberManager';
-export * from './extensions/discord.js/BushUser';
-export type { BushUserManager } from './extensions/discord.js/BushUserManager';
-export * from './extensions/discord.js/BushVoiceChannel';
-export * from './extensions/discord.js/BushVoiceState';
-export * from './models/ActivePunishment';
-export * from './models/BaseModel';
-export * from './models/Global';
-export * from './models/Guild';
-export * from './models/Level';
-export * from './models/ModLog';
-export * from './models/Stat';
-export * from './models/StickyRole';
-export * from './utils/AllowedMentions';
-export * from './utils/BushCache';
-export * from './utils/BushConstants';
-export * from './utils/BushLogger';
-export * from './utils/CanvasProgressBar';
-export * from './utils/Config';
+export * from './common/AutoMod.js';
+export * from './common/ButtonPaginator.js';
+export * from './common/DeleteButton.js';
+export * from './common/Format.js';
+export * from './common/Moderation.js';
+export type { BushInspectOptions } from './common/typings/BushInspectOptions.js';
+export type { CodeBlockLang } from './common/typings/CodeBlockLang.js';
+export * from './common/util/Arg.js';
+export * from './extensions/discord-akairo/BushArgumentTypeCaster.js';
+export * from './extensions/discord-akairo/BushClient.js';
+export * from './extensions/discord-akairo/BushClientUtil.js';
+export * from './extensions/discord-akairo/BushCommand.js';
+export * from './extensions/discord-akairo/BushCommandHandler.js';
+export * from './extensions/discord-akairo/BushCommandUtil.js';
+export * from './extensions/discord-akairo/BushInhibitor.js';
+export * from './extensions/discord-akairo/BushInhibitorHandler.js';
+export * from './extensions/discord-akairo/BushListener.js';
+export * from './extensions/discord-akairo/BushListenerHandler.js';
+export * from './extensions/discord-akairo/BushSlashMessage.js';
+export * from './extensions/discord-akairo/BushTask.js';
+export * from './extensions/discord-akairo/BushTaskHandler.js';
+export * from './extensions/discord.js/BushActivity.js';
+export * from './extensions/discord.js/BushApplicationCommand.js';
+export type { BushApplicationCommandManager } from './extensions/discord.js/BushApplicationCommandManager.js';
+export type { BushApplicationCommandPermissionsManager } from './extensions/discord.js/BushApplicationCommandPermissionsManager.js';
+export type { BushBaseGuildEmojiManager } from './extensions/discord.js/BushBaseGuildEmojiManager.js';
+export * from './extensions/discord.js/BushButtonInteraction.js';
+export * from './extensions/discord.js/BushCategoryChannel.js';
+export type { BushChannel } from './extensions/discord.js/BushChannel.js';
+export type { BushChannelManager } from './extensions/discord.js/BushChannelManager.js';
+export type { BushClientEvents } from './extensions/discord.js/BushClientEvents.js';
+export type { BushClientUser } from './extensions/discord.js/BushClientUser.js';
+export * from './extensions/discord.js/BushCommandInteraction.js';
+export * from './extensions/discord.js/BushDMChannel.js';
+export * from './extensions/discord.js/BushEmoji.js';
+export * from './extensions/discord.js/BushGuild.js';
+export type { BushGuildApplicationCommandManager } from './extensions/discord.js/BushGuildApplicationCommandManager.js';
+export type { BushGuildBan } from './extensions/discord.js/BushGuildBan.js';
+export * from './extensions/discord.js/BushGuildChannel.js';
+export * from './extensions/discord.js/BushGuildEmoji.js';
+export type { BushGuildEmojiRoleManager } from './extensions/discord.js/BushGuildEmojiRoleManager.js';
+export type { BushGuildManager } from './extensions/discord.js/BushGuildManager.js';
+export * from './extensions/discord.js/BushGuildMember.js';
+export type { BushGuildMemberManager } from './extensions/discord.js/BushGuildMemberManager.js';
+export * from './extensions/discord.js/BushMessage.js';
+export type { BushMessageManager } from './extensions/discord.js/BushMessageManager.js';
+export * from './extensions/discord.js/BushMessageReaction.js';
+export * from './extensions/discord.js/BushNewsChannel.js';
+export * from './extensions/discord.js/BushPresence.js';
+export * from './extensions/discord.js/BushReactionEmoji.js';
+export * from './extensions/discord.js/BushRole.js';
+export * from './extensions/discord.js/BushSelectMenuInteraction.js';
+export * from './extensions/discord.js/BushStageChannel.js';
+export * from './extensions/discord.js/BushStageInstance.js';
+export * from './extensions/discord.js/BushStoreChannel.js';
+export * from './extensions/discord.js/BushTextChannel.js';
+export * from './extensions/discord.js/BushThreadChannel.js';
+export type { BushThreadManager } from './extensions/discord.js/BushThreadManager.js';
+export * from './extensions/discord.js/BushThreadMember.js';
+export type { BushThreadMemberManager } from './extensions/discord.js/BushThreadMemberManager.js';
+export * from './extensions/discord.js/BushUser.js';
+export type { BushUserManager } from './extensions/discord.js/BushUserManager.js';
+export * from './extensions/discord.js/BushVoiceChannel.js';
+export * from './extensions/discord.js/BushVoiceState.js';
+export * from './models/ActivePunishment.js';
+export * from './models/BaseModel.js';
+export * from './models/Global.js';
+export * from './models/Guild.js';
+export * from './models/Level.js';
+export * from './models/ModLog.js';
+export * from './models/Stat.js';
+export * from './models/StickyRole.js';
+export * from './utils/AllowedMentions.js';
+export * from './utils/BushCache.js';
+export * from './utils/BushConstants.js';
+export * from './utils/BushLogger.js';
+export * from './utils/CanvasProgressBar.js';
+export * from './utils/Config.js';
diff --git a/src/lib/models/ActivePunishment.ts b/src/lib/models/ActivePunishment.ts
index 83ada29..23dd33b 100644
--- a/src/lib/models/ActivePunishment.ts
+++ b/src/lib/models/ActivePunishment.ts
@@ -1,7 +1,10 @@
import { type Snowflake } from 'discord.js';
import { nanoid } from 'nanoid';
-import { DataTypes, type Sequelize } from 'sequelize';
-import { BaseModel } from './BaseModel';
+import { type Sequelize } from 'sequelize';
+import { BaseModel } from './BaseModel.js';
+
+const { DataTypes } = (await import('sequelize')).default
+
export enum ActivePunishmentType {
BAN = 'BAN',
diff --git a/src/lib/models/BaseModel.ts b/src/lib/models/BaseModel.ts
index 8fba5e5..e503317 100644
--- a/src/lib/models/BaseModel.ts
+++ b/src/lib/models/BaseModel.ts
@@ -1,4 +1,4 @@
-import { Model } from 'sequelize';
+const { Model } = (await import('sequelize')).default;
export abstract class BaseModel<A, B> extends Model<A, B> {
/**
diff --git a/src/lib/models/Global.ts b/src/lib/models/Global.ts
index 6b6ebae..b096c7f 100644
--- a/src/lib/models/Global.ts
+++ b/src/lib/models/Global.ts
@@ -1,7 +1,9 @@
import { type Snowflake } from 'discord.js';
-import { DataTypes, type Sequelize } from 'sequelize';
-import { BaseModel } from './BaseModel';
-import { jsonArray } from './__helpers';
+import { type Sequelize } from 'sequelize';
+import { BaseModel } from './BaseModel.js';
+import { jsonArray } from './__helpers.js';
+
+const { DataTypes } = (await import('sequelize')).default
export interface GlobalModel {
environment: 'production' | 'development' | 'beta';
diff --git a/src/lib/models/Guild.ts b/src/lib/models/Guild.ts
index 583cbd7..78be846 100644
--- a/src/lib/models/Guild.ts
+++ b/src/lib/models/Guild.ts
@@ -1,9 +1,11 @@
import { type Snowflake } from 'discord.js';
-import { DataTypes, type Sequelize } from 'sequelize';
-import { type BadWords } from '../common/AutoMod';
-import { type BushClient } from '../extensions/discord-akairo/BushClient';
-import { BaseModel } from './BaseModel';
-import { jsonArray, jsonObject } from './__helpers';
+import { type Sequelize } from 'sequelize';
+import { type BadWords } from '../common/AutoMod.js';
+import { type BushClient } from '../extensions/discord-akairo/BushClient.js';
+import { BaseModel } from './BaseModel.js';
+import { jsonArray, jsonObject } from './__helpers.js';
+
+const { DataTypes } = (await import('sequelize')).default
export interface GuildModel {
id: Snowflake;
@@ -160,7 +162,7 @@ export class Guild extends BaseModel<GuildModel, GuildModelCreationAttributes> i
levelRoles: jsonObject('levelRoles'),
levelUpChannel: { type: DataTypes.STRING, allowNull: true }
},
- { sequelize: sequelize }
+ { sequelize }
);
}
}
diff --git a/src/lib/models/Level.ts b/src/lib/models/Level.ts
index 6499bff..f1083fc 100644
--- a/src/lib/models/Level.ts
+++ b/src/lib/models/Level.ts
@@ -1,6 +1,8 @@
import { type Snowflake } from 'discord.js';
-import { DataTypes, type Sequelize } from 'sequelize';
-import { BaseModel } from './BaseModel';
+import { type Sequelize } from 'sequelize';
+import { BaseModel } from './BaseModel.js';
+
+const { DataTypes } = (await import('sequelize')).default
export interface LevelModel {
user: Snowflake;
diff --git a/src/lib/models/ModLog.ts b/src/lib/models/ModLog.ts
index b2351b9..757ee66 100644
--- a/src/lib/models/ModLog.ts
+++ b/src/lib/models/ModLog.ts
@@ -1,8 +1,10 @@
import { type Snowflake } from 'discord.js';
import { nanoid } from 'nanoid';
-import { DataTypes, type Sequelize } from 'sequelize';
-import { BaseModel } from './BaseModel';
-import { jsonBoolean } from './__helpers';
+import { type Sequelize } from 'sequelize';
+import { BaseModel } from './BaseModel.js';
+import { jsonBoolean } from './__helpers.js';
+
+const { DataTypes } = (await import('sequelize')).default
export enum ModLogType {
PERM_BAN = 'PERM_BAN',
diff --git a/src/lib/models/Stat.ts b/src/lib/models/Stat.ts
index a6e8f19..c5f02b8 100644
--- a/src/lib/models/Stat.ts
+++ b/src/lib/models/Stat.ts
@@ -1,6 +1,8 @@
-import { DataTypes, type Sequelize } from 'sequelize';
-import { BaseModel } from './BaseModel';
-import { jsonBigint } from './__helpers';
+import { type Sequelize } from 'sequelize';
+import { BaseModel } from './BaseModel.js';
+import { jsonBigint } from './__helpers.js';
+
+const { DataTypes } = (await import('sequelize')).default
type Environment = 'production' | 'development' | 'beta';
diff --git a/src/lib/models/StickyRole.ts b/src/lib/models/StickyRole.ts
index 657bac6..a6f604d 100644
--- a/src/lib/models/StickyRole.ts
+++ b/src/lib/models/StickyRole.ts
@@ -1,7 +1,9 @@
import { type Snowflake } from 'discord.js';
-import { DataTypes, type Sequelize } from 'sequelize';
-import { BaseModel } from './BaseModel';
-import { jsonArray } from './__helpers';
+import { type Sequelize } from 'sequelize';
+import { BaseModel } from './BaseModel.js';
+import { jsonArray } from './__helpers.js';
+
+const { DataTypes } = (await import('sequelize')).default
export interface StickyRoleModel {
user: Snowflake;
diff --git a/src/lib/models/__helpers.ts b/src/lib/models/__helpers.ts
index 3a958b9..3b7f4a4 100644
--- a/src/lib/models/__helpers.ts
+++ b/src/lib/models/__helpers.ts
@@ -1,4 +1,7 @@
-import { DataTypes, type Model } from 'sequelize';
+import { type Model } from 'sequelize';
+
+const { DataTypes } = (await import('sequelize')).default
+
export function jsonParseGet(this: Model, key: string): any {
return JSON.parse(this.getDataValue(key));
diff --git a/src/lib/utils/BushCache.ts b/src/lib/utils/BushCache.ts
index a330224..d633898 100644
--- a/src/lib/utils/BushCache.ts
+++ b/src/lib/utils/BushCache.ts
@@ -1,5 +1,5 @@
import { Collection, type Snowflake } from 'discord.js';
-import { Guild } from '../models/Guild';
+import { Guild } from '../models/Guild.js';
export class BushCache {
public static global = {