$channelTopic
$channelTopic
will return the given channel’s topic.
Usage
$channelTopic[channelID?]
Parameters
Field | Type | Description | Required |
---|---|---|---|
channelID? | number | ID of the channel you want it to return the channel topic of. | false |
Example(s)
This will return the channel topic of the channel where you execute the command in:
1client.command({2 name: "channelTopic",3 code: `4 $channelTopic[$channelID]5 `6});