<channel>
Allows you to get any of the information on a channel.
Context
Event | Context |
---|---|
Welcome message | channel is assigned to the chosen Welcome channel. |
Farewell message | server is assigned to the chosen Farewell channel. |
Custom command | server is assigned to the channel where the command was triggered. (not available) |
Syntax
- Input
- Output
This message is being sent in <channel.mention>, and was created on <channel.created>.
Properties
Placeholder | Description | Example |
---|---|---|
<channel.name> | Get the channel's name | general |
<channel.id> | Get the channel's Discord ID | 843141931504631818 |
<channel.created> | Get the channel's creation date | 2021-01-30T13:32:00Z |
<channel.mention> | Mention the channel using its ID | general |
<channel.topic> | Get the channel's topic, or null if none was set | null |
<channel.isAgeRestricted> | Returns true if the channel is age restricted or false otherwise | false |