# Ticket Categories

## 🌱 Create a Ticket Category

To create a category you must use the command `/ticket-manage setup` You will see an embed with several buttons which are the different properties that you can configure for that category.

<figure><img src="https://1344056451-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fsiw3eFWeZ37y1YVM70Zf%2Fuploads%2Fgit-blob-1a328fa46a734ea80c1e372886c9eda959efc2f6%2F2023-03-22_18-18.png?alt=media" alt="/ticket-manage setup"><figcaption><p>/ticket-manage setup</p></figcaption></figure>

* Name - Text that the button will have
* Emoji - The emoji that will appear on the ticket button
* Category - ID of the category where the bot will create the ticket
* Style - Color that the button will have
* Roles - The roles that will have access to view that ticket
* Label - Toggle whether the button will show the ticket name
* Questions - Add/Remove/List the questions for the ticket category

<figure><img src="https://1344056451-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fsiw3eFWeZ37y1YVM70Zf%2Fuploads%2Fgit-blob-33748462c87ef8208c679643297a9627345870aa%2Fimage%20(4).png?alt=media" alt="Button styles available at the moment"><figcaption><p>Button styles available at the moment</p></figcaption></figure>

## 🧐 Add Modal Question(s)

To add questions you will have to answer the following questions:

1. Name - The name of the question to add
2. Description - This text will be the **placeholder** that appears in the input of the modal
3. Type - This will be the type of input that the question will have, select **Short** for a single column or **Paragraph** if your question needs a lot more context
4. Required - If your question must be answered by the user, select **required**

<figure><img src="https://1344056451-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fsiw3eFWeZ37y1YVM70Zf%2Fuploads%2Fgit-blob-03356902ddd8d57f1dfc1742cc1315f82dcbc55a%2Fimage%20(8).png?alt=media" alt=""><figcaption><p>A ticket question modal</p></figcaption></figure>

## 🗂️ List Ticket Categories

To see all the categories you have created, use the command **-/ticket-manage list**

You can see information about the categories which are:

* CustomId - Unique identifier generated by the bot
* Name - Text that the button will have
* Emoji - The emoji that will appear on the ticket button
* Category - Category where the bot will create the ticket
* Style - Color that the button will have
* Roles - All the roles that will have access to view that ticket

<figure><img src="https://1344056451-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fsiw3eFWeZ37y1YVM70Zf%2Fuploads%2Fgit-blob-f795bc1ed8d264c1ec51d7db185fcdce21b61d90%2Fimage%20(10).png?alt=media" alt="/ticket-manage list"><figcaption><p>/ticket-manage list</p></figcaption></figure>

## 🗑️ Remove Ticket Category

To delete a ticket category you must use the "customId" that the bot gives to each panel, you can get it using the command `/ticket-manage list`

<figure><img src="https://1344056451-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fsiw3eFWeZ37y1YVM70Zf%2Fuploads%2Fgit-blob-adb9cbd173df057ce63fbc8d7f49d4f8da89246a%2Fimage%20(7).png?alt=media" alt=""><figcaption><p>/ticket-manage delete</p></figcaption></figure>
