fix: Miscellaneous fixes (#9445)

Co-authored-by: Jiralite <33201955+Jiralite@users.noreply.github.com>
Co-authored-by: Almeida <almeidx@pm.me>
Co-authored-by: kyranet <kyradiscord@gmail.com>
Fix embeds and components (#9437)
fix links and invalid syntax (#9322)
This commit is contained in:
Jaw0r3k
2023-05-01 21:03:19 +02:00
committed by GitHub
parent d867936fce
commit 21dfac90ac
14 changed files with 46 additions and 28 deletions

6
typings/index.d.ts vendored
View File

@@ -573,6 +573,8 @@ export type CategoryChannelTypes = ExcludeEnum<
export class CategoryChannel extends GuildChannel {
public readonly children: Collection<Snowflake, Exclude<NonThreadGuildBasedChannel, CategoryChannel>>;
public static parent: null;
public parentId: null;
public type: 'GUILD_CATEGORY';
public createChannel<T extends Exclude<CategoryChannelTypes, 'GUILD_STORE' | ChannelTypes.GUILD_STORE>>(
@@ -2594,7 +2596,7 @@ export class TextInputComponent extends BaseMessageComponent {
}
export class ThreadChannel extends TextBasedChannelMixin(Channel, ['fetchWebhooks', 'createWebhook', 'setNSFW']) {
private constructor(guild: Guild, data?: RawThreadChannelData, client?: Client, fromInteraction?: boolean);
private constructor(guild: Guild, data?: RawThreadChannelData, client?: Client);
public archived: boolean | null;
public readonly archivedAt: Date | null;
public archiveTimestamp: number | null;
@@ -6423,7 +6425,7 @@ export type GuildBasedChannel = Extract<AnyChannel, { guild: Guild }>;
export type NonThreadGuildBasedChannel = Exclude<GuildBasedChannel, ThreadChannel>;
export type GuildTextBasedChannel = Exclude<Extract<GuildBasedChannel, TextBasedChannel>, ForumChannel>;
export type GuildTextBasedChannel = Extract<GuildBasedChannel, TextBasedChannel>;
export type TextChannelResolvable = Snowflake | TextChannel;