isTextChannel

isTextChannel(channel: Channel) boolean (typeguard for TextChannel)

Returns whether a channel can receive ordinary messages and narrows its type.