Skip to content

$deleteChannel

$deleteChannel will delete a specific channel.

Usage

$deleteChannel[channelID]

Parameters

FieldTypeDescriptionRequired
channelIDnumberThe channel ID of the channel which will be deleted.true

Example(s)

This will delete the channel where the command was executed in:

1
client.command({
2
name: "deleteChannel",
3
code: `
4
$deleteChannel[$channelID]
5
`
6
});