$channelTopic
Returns a channel's topic/description.
Usage
$channelTopic[channelID]Param
Description
Type
Required
Examples
bot.commands.add({
type: "basicCommand",
name: "example",
code: `$channelTopic[$channelID]` //Returns the topic of the current channel
})bot.commands.add({
type: "basicCommand",
name: "example",
code: `$channelTopic[$mentionedChannels[1;yes]]` //Returns the topic of the mentioned channel
})Last updated
Was this helpful?