mirror of
https://github.com/tiramisulabs/seyfert.git
synced 2025-07-02 21:16:09 +00:00
fix: biome
This commit is contained in:
parent
07340a98bb
commit
4986bb4603
@ -69,8 +69,5 @@
|
||||
"name": "David",
|
||||
"url": "https://github.com/Drylozu"
|
||||
}
|
||||
],
|
||||
"trustedDependencies": [
|
||||
"@biomejs/biome"
|
||||
]
|
||||
}
|
||||
|
3
src/cache/resources/channels.ts
vendored
3
src/cache/resources/channels.ts
vendored
@ -1,7 +1,6 @@
|
||||
import type { APIChannel } from '../../types';
|
||||
import { fakePromise } from '../../common';
|
||||
import type { AllChannels } from '../../structures';
|
||||
import channelFrom from '../../structures/channels';
|
||||
import { channelFrom, type AllChannels } from '../../structures';
|
||||
import type { ReturnCache } from '../index';
|
||||
import { GuildRelatedResource } from './default/guild-related';
|
||||
|
||||
|
@ -8,10 +8,8 @@ import {
|
||||
type APIUser,
|
||||
ApplicationCommandOptionType,
|
||||
} from '../types';
|
||||
import { Attachment } from '..';
|
||||
import type { MakeRequired } from '../common';
|
||||
import type { AllChannels } from '../structures';
|
||||
import channelFrom from '../structures/channels';
|
||||
import { channelFrom, type AllChannels } from '../structures';
|
||||
import type { Command, CommandAutocompleteOption, CommandOption, SubCommand } from './applications/chat';
|
||||
import type { UsingClient } from './applications/shared';
|
||||
import {
|
||||
@ -21,6 +19,7 @@ import {
|
||||
Transformers,
|
||||
type UserStructure,
|
||||
} from '../client/transformers';
|
||||
import { Attachment } from '../builders';
|
||||
|
||||
export type ContextOptionsResolved = {
|
||||
members?: Record<string, APIGuildMember | Omit<APIGuildMember, 'user'> | APIInteractionGuildMember>;
|
||||
|
@ -6,8 +6,7 @@ import type {
|
||||
RESTPostAPIGuildForumThreadsJSONBody,
|
||||
APIGuildChannel,
|
||||
} from '../../types';
|
||||
import { BaseChannel, type GuildRole, type GuildMember } from '../../structures';
|
||||
import channelFrom, { type AllChannels } from '../../structures/channels';
|
||||
import { BaseChannel, type GuildRole, type GuildMember, type AllChannels, channelFrom } from '../../structures';
|
||||
import { PermissionsBitField } from '../../structures/extra/Permissions';
|
||||
import { BaseShorter } from './base';
|
||||
import { MergeOptions } from '../it/utils';
|
||||
|
@ -12,8 +12,7 @@ import type {
|
||||
RESTPostAPIGuildsJSONBody,
|
||||
} from '../../types';
|
||||
import { resolveFiles } from '../../builders';
|
||||
import { BaseChannel, Guild, GuildMember, type CreateStickerBodyRequest } from '../../structures';
|
||||
import channelFrom from '../../structures/channels';
|
||||
import { BaseChannel, channelFrom, Guild, GuildMember, type CreateStickerBodyRequest } from '../../structures';
|
||||
import { BaseShorter } from './base';
|
||||
import { type GuildStructure, Transformers } from '../../client/transformers';
|
||||
|
||||
|
@ -7,10 +7,10 @@ import type {
|
||||
RESTPostAPIChannelThreadsJSONBody,
|
||||
RESTPostAPIGuildForumThreadsJSONBody,
|
||||
} from '../../types';
|
||||
import channelFrom from '../../structures/channels';
|
||||
import { BaseShorter } from './base';
|
||||
import type { MakeRequired, When } from '../types/util';
|
||||
import type { ThreadChannelStructure } from '../../client/transformers';
|
||||
import { channelFrom } from '../../structures';
|
||||
|
||||
export class ThreadShorter extends BaseShorter {
|
||||
/**
|
||||
|
@ -6,8 +6,7 @@ import type {
|
||||
} from '../../types';
|
||||
|
||||
import { toCamelCase } from '../../common';
|
||||
import type { AllChannels } from '../../structures';
|
||||
import channelFrom from '../../structures/channels';
|
||||
import { channelFrom, type AllChannels } from '../../structures';
|
||||
import type { UsingClient } from '../../commands';
|
||||
|
||||
export const CHANNEL_CREATE = (self: UsingClient, data: GatewayChannelCreateDispatchData) => {
|
||||
|
Loading…
x
Reference in New Issue
Block a user