diff options
Diffstat (limited to 'src/lib')
-rw-r--r-- | src/lib/common/util/Arg.ts | 2 | ||||
-rw-r--r-- | src/lib/extensions/discord.js/BushCommandInteraction.ts | 19 | ||||
-rw-r--r-- | src/lib/utils/BushCache.ts | 2 |
3 files changed, 14 insertions, 9 deletions
diff --git a/src/lib/common/util/Arg.ts b/src/lib/common/util/Arg.ts index 2577db9..01d3b0b 100644 --- a/src/lib/common/util/Arg.ts +++ b/src/lib/common/util/Arg.ts @@ -1,4 +1,4 @@ -import { BaseBushArgumentType, BushArgumentTypeCaster, BushSlashMessage, type BushArgumentType } from '#lib'; +import { type BaseBushArgumentType, type BushArgumentType, type BushArgumentTypeCaster, type BushSlashMessage } from '#lib'; import { Argument, type Flag, type ParsedValuePredicate } from 'discord-akairo'; import { type Message } from 'discord.js'; diff --git a/src/lib/extensions/discord.js/BushCommandInteraction.ts b/src/lib/extensions/discord.js/BushCommandInteraction.ts index e6643f0..5f32829 100644 --- a/src/lib/extensions/discord.js/BushCommandInteraction.ts +++ b/src/lib/extensions/discord.js/BushCommandInteraction.ts @@ -1,13 +1,18 @@ -import type { BushApplicationCommand, BushGuild, 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 { +import type { + BushApplicationCommand, + BushClient, + BushGuild, + BushGuildEmoji, + BushGuildMember, BushGuildTextBasedChannel, BushNonThreadGuildBasedChannel, + BushRole, BushTextBasedChannel, - type BushClient -} from '../discord-akairo/BushClient'; + 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'; export type BushGuildResolvable = | BushGuild diff --git a/src/lib/utils/BushCache.ts b/src/lib/utils/BushCache.ts index 476f516..cea0aea 100644 --- a/src/lib/utils/BushCache.ts +++ b/src/lib/utils/BushCache.ts @@ -1,5 +1,5 @@ +import { type Guild } from '#lib'; import { Collection, type Snowflake } from 'discord.js'; -import { Guild } from '../models/Guild.js'; export class BushCache { public global = new GlobalCache(); |