$setChannelTopic
This command allows you to change the topic (also known as the channel description) of a text channel.
Usage
$setChannelTopic[channelID;topic]
Parameters:
channelID: The ID of the channel you want to modify. You can use$channelIDto refer to the current channel.topic: The new topic you want to set for the channel. This is a text string.
Example
Let's say you want to set the topic of the current channel to "This channel is for memes only!". You would use the following command:
$setChannelTopic[$channelID;This channel is for memes only!]
Explanation:
$channelIDtells the bot to use the ID of the channel where the command is executed.This channel is for memes only!is the new topic that will be applied to the channel.
Important Notes:
- Make sure the bot has the necessary permissions to manage the channel. Specifically, it needs the "Manage Channels" permission.
- The maximum length of a channel topic is limited. Very long topics will be truncated.
⏱️ Function Cooldown
This function has a built-in cooldown to help prevent excessive usage.
| Property | Value |
|---|---|
| ⏱️ Duration | 7 minutes |
| 🆔 Tracked By | Channel ID |
| 🌐 Scope | Channelupdate |
Functions with the same Scope share cooldowns based on the same
Tracked Byvalue.
💎 Tier 3+ servers bypass this cooldown. See Premium Perks.