fix(docs): some link tags didn't resolve correctly (#10269)

* fix(docs): some link tags didn't resolve in summaries

* fix: add TextBasedChannels type
This commit is contained in:
Qjuh
2024-05-13 11:34:11 +02:00
committed by GitHub
parent 393ded4ea1
commit 914cc4ba54
14 changed files with 41 additions and 37 deletions

View File

@@ -5160,6 +5160,13 @@ export interface WebhookCreateOptions extends ChannelWebhookCreateOptions {
channel: TextChannel | NewsChannel | VoiceChannel | StageChannel | ForumChannel | MediaChannel | Snowflake;
}
export interface GuildMembersChunk {
index: number;
count: number;
notFound: readonly unknown[];
nonce: string | undefined;
}
export interface ClientEvents {
applicationCommandPermissionsUpdate: [data: ApplicationCommandPermissionsUpdateData];
autoModerationActionExecution: [autoModerationActionExecution: AutoModerationActionExecution];
@@ -5197,11 +5204,7 @@ export interface ClientEvents {
guildMemberAdd: [member: GuildMember];
guildMemberAvailable: [member: GuildMember | PartialGuildMember];
guildMemberRemove: [member: GuildMember | PartialGuildMember];
guildMembersChunk: [
members: ReadonlyCollection<Snowflake, GuildMember>,
guild: Guild,
data: { index: number; count: number; notFound: readonly unknown[]; nonce: string | undefined },
];
guildMembersChunk: [members: ReadonlyCollection<Snowflake, GuildMember>, guild: Guild, data: GuildMembersChunk];
guildMemberUpdate: [oldMember: GuildMember | PartialGuildMember, newMember: GuildMember];
guildUpdate: [oldGuild: Guild, newGuild: Guild];
inviteCreate: [invite: Invite];
@@ -6723,6 +6726,8 @@ export type TextBasedChannel = Exclude<
PartialGroupDMChannel | ForumChannel | MediaChannel
>;
export type TextBasedChannels = TextBasedChannel;
export type TextBasedChannelTypes = TextBasedChannel['type'];
export type GuildTextBasedChannelTypes = Exclude<TextBasedChannelTypes, ChannelType.DM>;