diff options
Diffstat (limited to 'lib/utils')
-rw-r--r-- | lib/utils/BushClientUtils.ts | 14 | ||||
-rw-r--r-- | lib/utils/BushLogger.ts | 2 |
2 files changed, 7 insertions, 9 deletions
diff --git a/lib/utils/BushClientUtils.ts b/lib/utils/BushClientUtils.ts index 2cf546e..bc4a40a 100644 --- a/lib/utils/BushClientUtils.ts +++ b/lib/utils/BushClientUtils.ts @@ -1,3 +1,9 @@ +import { ConfigChannelKey } from '#config'; +import type { BushInspectOptions, CodeBlockLang } from '#lib'; +import { GlobalCache, SharedCache } from '#lib/common/BushCache.js'; +import { CommandMessage } from '#lib/extensions/discord-akairo/BushCommand.js'; +import { SlashMessage } from '#lib/extensions/discord-akairo/SlashMessage.js'; +import { Global, Shared } from '#lib/models/index.js'; import assert from 'assert/strict'; import { cleanCodeBlockContent, @@ -16,14 +22,6 @@ import { type UserResolvable } from 'discord.js'; import _ from 'lodash'; -import { ConfigChannelKey } from '../../config/Config.js'; -import { GlobalCache, SharedCache } from '../common/BushCache.js'; -import { CommandMessage } from '../extensions/discord-akairo/BushCommand.js'; -import { SlashMessage } from '../extensions/discord-akairo/SlashMessage.js'; -import { Global } from '../models/shared/Global.js'; -import { Shared } from '../models/shared/Shared.js'; -import { BushInspectOptions } from '../types/BushInspectOptions.js'; -import { CodeBlockLang } from '../types/CodeBlockLang.js'; import { emojis, Pronoun, PronounCode, pronounMapping, regex } from './BushConstants.js'; import { addOrRemoveFromArray, formatError, inspect } from './BushUtils.js'; import { generateErrorEmbed } from './ErrorHandler.js'; diff --git a/lib/utils/BushLogger.ts b/lib/utils/BushLogger.ts index 4acda69..f575b50 100644 --- a/lib/utils/BushLogger.ts +++ b/lib/utils/BushLogger.ts @@ -1,10 +1,10 @@ import chalk from 'chalk'; // eslint-disable-next-line @typescript-eslint/no-unused-vars +import { type SendMessageType } from '#lib/extensions/discord-akairo/BushClient.js'; import { bold, Client, EmbedBuilder, escapeMarkdown, PartialTextBasedChannelFields, type Message } from 'discord.js'; import { stripVTControlCharacters as stripColor } from 'node:util'; import repl, { REPLServer, REPL_MODE_STRICT } from 'repl'; import { WriteStream } from 'tty'; -import { type SendMessageType } from '../extensions/discord-akairo/BushClient.js'; import { colors } from './BushConstants.js'; import { inspect } from './BushUtils.js'; |