v5.0.0
$deleteChannels
Delete a channel or channels by using their IDs.
This function deletes the specified channel(s)

Fields

This function has 1 required field
  1. 1.
    Channel ID (Required)
  2. 2.
    Channel ID 2 (Optional)
  3. 3.
    Etc
Raw Usage: deleteChannels[channel id;channel id;etc]

Options

  • Channel ID(s) - The channels the bot is deleting

Usage

Deleting the mentioned channel
1
bot.command({
2
name: "deletechannels",
3
code: `
4
I've deleted the mentioned channels!
5
$deleteChannels[$mentionedChannels[1]]
6
`
7
})
Copied!
Deleting multiple mentioned channels
1
bot.command({
2
name: "deletechannels",
3
code: `
4
I've deleted all the mentioned channels!
5
$deleteChannels[$mentionedChannels[1];$mentionedChannels[2];$mentionedChannels[3]]
6
`
7
})
Copied!
Last modified 1mo ago
Copy link
Edit on GitHub