$deleteChannels

Deletes the provided channels.

Usage

$deleteChannels[channelIDs]

This function has one param.

ParamDescriptionTypeRequired

channelIDs

The channel IDs to delete, separated by ;.

Snowflake

Yes

Example

bot.commands.add({
  type: "basicCommand",
  name: "example",
  code: `$deleteChannels[$channelID]` //Deletes the current channel
})

Last updated