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​

PlaceholderDescriptionExample
<channel.name>Get the channel's namegeneral
<channel.id>Get the channel's Discord ID843141931504631818
<channel.created>Get the channel's creation date2021-01-30T13:32:00Z
<channel.mention>Mention the channel using its IDgeneral
<channel.topic>Get the channel's topic, or null if none was setnull
<channel.isAgeRestricted>Returns true if the channel is age restricted or false otherwisefalse