$deleteChannels
Deletes one or more channels from the server.
Usage:
$deleteChannels[channelID1;channelID2;channelID3;...]
Parameters:
channelID1;channelID2;channelID3;...: A semicolon-separated list of channel IDs to delete.
Example:
$deleteChannels[$channelID]
This example will delete the channel the command is executed in. $channelID represents the ID of the current channel.
Deleting Multiple Channels:
$deleteChannels[123456789012345678;987654321098765432]
This example will delete the channels with IDs 123456789012345678 and 987654321098765432.
Related Functions
- Use $deleteRoles to delete roles.
- Use $deleteThreads to delete threads.
Function Difficulty: Easy
Tags: channel delete delete Channel remove Channel
⏱️ Function Cooldown
This function has a built-in cooldown to help prevent excessive usage.
| Property | Value |
|---|---|
| ⏱️ Duration | 1 minute |
| 🆔 Tracked By | Server |
| 🌐 Scope | Channelupdate |
Functions with the same Scope share cooldowns based on the same
Tracked Byvalue.
💎 Tier 3+ servers bypass this cooldown. See Premium Perks.