$deleteChannels
Deletes a channel or multiple channels the bot can see.

FUNCTION USAGE

  • $deleteChannels[channelID]
  • $deleteChannels[channelID;channelID;....etc]

Property:

channelID - The ID of an existing channel the bot can see.
1
bot.Command({
2
name: "deletechannel",
3
code: `
4
Deleted a channel!
5
$deleteChannels[$findChannel[$message[1]];$findChannel[$message[2]];$findChannel[$message[3]]]
6
$onlyIf[$findChannel[$message[3]]!=;Please mention 3 channels to delete!]
7
`
8
})
Copied!
Last modified 5mo ago
Copy link
Contents
Property: