DirectoryChannel

export class DirectoryChannel extends BaseChannel
export class DirectoryChannel extends BaseChannel
Represents a channel that displays a directory of guilds.
Readonly
client:Client<true>
The client that instantiated this
Inherited from Base
Readonly
createdAt:Date | null
The time the channel was created at
Inherited from BaseChannel
Readonly
createdTimestamp:number | null
The timestamp the channel was created at
Inherited from BaseChannel
flags:Readonly<ChannelFlagsBitField>
The flags that are applied to the channel. This is only null in a PartialGroupDMChannel. In all other cases, it is not null.
The guild the channel is in
guildId:Snowflake
The id of the guild the channel is in
The channel's id
Inherited from BaseChannel
name:string
The channel's name
Readonly
partial:false
Whether this Channel is a partial This is always false outside of DM channels.
Inherited from BaseChannel
The type of the channel
Inherited from BaseChannel
Readonly
url:string
The URL to the channel
Inherited from BaseChannel
delete():Promise<this>
Deletes this channel.
Inherited from BaseChannel
fetch(force?):Promise<this>
Fetches this channel.
NameTypeOptionalDescription
forcebooleanYesWhether to skip the cache check and request the API
Inherited from BaseChannel
Indicates whether this channel is DM-based (either a DMChannel or a PartialGroupDMChannel).
Inherited from BaseChannel
isTextBased():this is TextBasedChannel
Indicates whether this channel is .
Inherited from BaseChannel
isThread():this is AnyThreadChannel
Indicates whether this channel is a ThreadChannel.
Inherited from BaseChannel
isThreadOnly():this is ThreadOnlyChannel
Indicates whether this channel is .
Inherited from BaseChannel
isVoiceBased():this is VoiceBasedChannel
Indicates whether this channel is .
Inherited from BaseChannel
toJSON(...props):unknown
NameTypeOptionalDescription
...propsRecord<string, boolean | string>[]NoNone
Inherited from Base
When concatenated with a string, this automatically returns the channel's mention instead of the Channel object.
Inherited from BaseChannel
valueOf():string