6
typings/index.d.ts
vendored
6
typings/index.d.ts
vendored
@@ -878,6 +878,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>>(
|
||||
@@ -3140,7 +3142,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 firstMessage: Message | null;
|
||||
public readonly archivedAt: Date | null;
|
||||
@@ -7367,7 +7369,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;
|
||||
|
||||
|
Reference in New Issue
Block a user