Represents a text-based guild channel on Discord.
The client that instantiated this
The time the channel was created at
The timestamp the channel was created at
The default auto archive duration for newly created threads in this channel
The initial rate limit per user (slowmode) to set on newly created threads in a channel.
Whether the channel is deletable by the client user
The flags that are applied to the channel. This is only
nullin a PartialGroupDMChannel. In all other cases, it is not
The guild the channel is in
The id of the guild the channel is in
The channel's id
The Message object of the last message in the channel, if one was sent
The last message id sent in the channel, if one was sent
The date when the last pinned message was pinned, if there was one
The timestamp when the last pinned message was pinned, if there was one
Whether the channel is manageable by the client user
A collection of cached members of this channel, mapped by their ids. Members that can view this channel, if the channel is text-based. Members in the channel, if the channel is voice-based.
A manager of the messages sent to this channel
The name of the guild channel
If the guild considers this channel NSFW
The category parent of this channel
The id of the category parent of this channel
Whether this Channel is a partial This is always false outside of DM channels.
A manager of permission overwrites that belong to this channel
If the permissionOverwrites match the parent channel, null if no parent
The position of the channel
The raw position of the channel from Discord
A manager of the threads belonging to this channel
The type of the channel
The URL to the channel
Whether the channel is viewable by the client user
Collects a single component interaction that passes the filter. The Promise will reject if the time expires.
Similar to createMessageCollector but in promise form. Resolves with a collection of messages that pass the specified filter.
Bulk deletes given messages that are newer than two weeks.
ReturnsReturns the deleted messages *
Creates an invite to this guild channel.
Creates a Message Collector.
Creates a component interaction collector.
Creates a webhook for the channel.
ReturnsReturns the created Webhook *
Fetches a collection of invites to this guild channel. Resolves with a collection mapping invites by their codes.
Fetches all webhooks for the channel.
Sends a message to this channel.
Sends a typing indicator in the channel.
ReturnsResolves upon the typing status being sent *
Sets the default auto archive duration for all newly created threads in this channel.
Sets whether this channel is flagged as NSFW.
Sets the rate limit per user (slowmode) for this channel.
Sets a new topic for the guild channel.