> For the complete documentation index, see [llms.txt](https://dbd-ts.gitbook.io/dbdts/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://dbd-ts.gitbook.io/dbdts/functions/deletechannels.md).

# $deleteChannels

Deletes the provided channels.

### Usage

```php
$deleteChannels[channelIDs]
```

This function has one param.

| Param      | Description                                  | Type      | Required |
| ---------- | -------------------------------------------- | --------- | -------- |
| channelIDs | The channel IDs to delete, separated by `;`. | Snowflake | Yes      |

### Example

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