$deleteChannelsByName

Deletes all channels matching the names provided.

Syntax

$deleteChannelsByName[Channel name;...]

Parameters

  • Channel name (Type: String || Flag: Required): The name(s) of the channel(s) to delete. Use semicolons ; as a separator to separate multiple channel names.

Permissions

Required permissions that the bot must have for this function to work properly:

  • managechannels

Example

$nomention
Successfully deleted #$channelName[$channelID[$message]]!
$deleteChannelsByName[$message]
!example main-chat Successfully deleted #main-chat

example

How $channelName[] and $channelID[] works?