Skip to main content

<channel>

Allows you to get any of the information on a channel.

Context

EventContext
Welcome messagechannel is assigned to the chosen Welcome channel.
Farewell messageserver is assigned to the chosen Farewell channel.
Custom commandserver is assigned to the channel where the command was triggered. (not available)

Syntax

This message is being sent in <channel.mention>, and was created on <channel.created>.

Properties

PropertyDescriptionExample
nameGet the channel’s namegeneral
idGet the channel’s Discord ID843141931504631818
createdGet the channel’s creation date2021-01-30T13:32:00Z
mentionMention the channel using its IDgeneral
topicGet the channel’s topic, or null if none was setnull
isAgeRestrictedReturns true if the channel is age restricted or false otherwisefalse