Skip to main content
A TextChannel is a text or announcement channel of a server. It is what channel.isText() gives, and the most common channel of a command or a message.
How to send, edit and read messages is in Sending messages.

Properties

It also has everything of GuildChannel and what channels with messages share.
string | null
The topic shown at the top of the channel.
number
How many seconds a member waits between two messages (slowmode).
boolean
Whether it is an announcement channel, which servers can follow.

Actions

startThread()

Starts a thread that is not attached to a message. To start one from a message, use message.startThread(). The options are a ThreadCreateOptions. Discord documentation

follow()

Makes another channel receive what is published in this announcement channel. Discord documentation