# Self Destruct

Self destruct is what most bots refer as "Temporary Channels" while ours arent as advanced as some bots that are focused on the feature, its a nice, function system that you can use to create channels that will be deleted at set amount of time

## How to use

Run the `/self-destruct` command and fill out the following options

**Name:** The name you want the channel to be\
**Type:** This is the type of channel, either a Text channel or VC\
**Time:** The time before the channel deletes itself\
**Category:** The category ID of where we should create the channel\
**Access Role:** This is the role that will be granted view permissions and send message permissions\
\
After sending the bot will create a channel&#x20;

<figure><img src="https://3692396313-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FETXJvJdkZBK73uujCnOn%2Fuploads%2FYnecjOv9yrcNXt09bHUJ%2Fimage.png?alt=media&#x26;token=130f9ce9-b8da-4452-b379-13a98ae23bd8" alt="" width="375"><figcaption><p>Success message</p></figcaption></figure>

<figure><img src="https://3692396313-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FETXJvJdkZBK73uujCnOn%2Fuploads%2FCGaWMyVoJrglCqcOqhS0%2Fimage.png?alt=media&#x26;token=be1c1749-578e-4095-ab09-51087a7e378e" alt="" width="375"><figcaption><p>Created channel</p></figcaption></figure>

After the time ends, there will be a warning sent, and 20 seconds after that the channel will be deleted

<figure><img src="https://3692396313-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FETXJvJdkZBK73uujCnOn%2Fuploads%2FaYYLde0TlS8gMtajdPyM%2Fimage.png?alt=media&#x26;token=1440ac97-3d4f-4c42-a5ea-a259602593eb" alt=""><figcaption></figcaption></figure>
