# Ticketing System

Number of ticketing panels chage with the Premium level your server has:

* Without: 5
* Silver: 10
* Gold: 15
* Platinium: 20&#x20;

You can get FlaviBot Premium at <https://flavibot.xyz/premium>

To enable the Ticketing system, go to your server's dashboard, you can access it with the `/dashboard` command on your server or go to <https://flavibot.xyz/dashboard/> then select Ticketing under Server Management, like the image below:

&#x20;

<figure><img src="https://1313681687-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MNdEPE8uDgCdqMBOotw%2Fuploads%2FmC9Z55UevEKMFrbChtKX%2Fimage.png?alt=media&#x26;token=a47fe48b-2584-4c3f-8d20-31cb715aa2c0" alt=""><figcaption></figcaption></figure>

To create a ticket panel, click `Add panel`

<figure><img src="https://1313681687-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MNdEPE8uDgCdqMBOotw%2Fuploads%2FAiVcs39amvId4hqm1Q7S%2Fimage.png?alt=media&#x26;token=c52525f7-c50b-4c00-9307-1683bd7531bc" alt=""><figcaption></figcaption></figure>

It will ask you how to name the panel, this will be used only in the dashboard to recognise which panel is which if you create multiple panels.&#x20;

<figure><img src="https://1313681687-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MNdEPE8uDgCdqMBOotw%2Fuploads%2FSdRN7wC1s6kdQcpaIpnm%2Fimage.png?alt=media&#x26;token=70c5ea0a-6172-4928-bfc0-5da007ed8490" alt=""><figcaption></figcaption></figure>

Click `Yes` to confirm the name of the panel.

Click `Edit` to then enter the config of the ticket panel.

<figure><img src="https://1313681687-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MNdEPE8uDgCdqMBOotw%2Fuploads%2FegfXurKuuu2GHhBqe3fk%2Fimage.png?alt=media&#x26;token=dccddf23-61c8-43a2-ba13-ec0979065412" alt=""><figcaption></figcaption></figure>

You will then be met with a lot of config fields but dont panic, it's very straight forward

<figure><img src="https://1313681687-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MNdEPE8uDgCdqMBOotw%2Fuploads%2FkMZGLEeT6Xkw7UPqxEDu%2Fimage.png?alt=media&#x26;token=f6e4591e-1a44-441d-af4f-d9cdcd602a9f" alt=""><figcaption></figcaption></figure>

The first `channel` field is where the members will go to open a ticket, you can select this channel in multiple ticket systems if you want multiple.

<figure><img src="https://1313681687-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MNdEPE8uDgCdqMBOotw%2Fuploads%2FwXYbCOrSb1Puitj0a83m%2Fimage.png?alt=media&#x26;token=aade1a87-8258-4d0b-9c8b-0c85f78cec02" alt=""><figcaption></figcaption></figure>

The second `channel` field is for logs of channel opening and closing&#x20;

<figure><img src="https://1313681687-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MNdEPE8uDgCdqMBOotw%2Fuploads%2FygsmhWxMJQDBUx5GZQ2r%2Fimage.png?alt=media&#x26;token=8069f7f3-9e60-40f3-be0d-e8a9b93d070f" alt=""><figcaption><p>Example of ticket logs</p></figcaption></figure>

The next field is `Support Roles` this will set permissions for users who have this role to interact with tickets, such as claiming and closing tickets. You will have to add premission to the tickets category for the role to see tickets.&#x20;

Then there is the `Embed Description` field, this will change the description of the ticket interface.

<figure><img src="https://1313681687-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MNdEPE8uDgCdqMBOotw%2Fuploads%2FpfR7rjT0IKoGqPzbPQJh%2Fimage.png?alt=media&#x26;token=29178854-2299-468d-a864-3c05fa731177" alt=""><figcaption></figcaption></figure>

&#x20;

<figure><img src="https://1313681687-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MNdEPE8uDgCdqMBOotw%2Fuploads%2FwXYbCOrSb1Puitj0a83m%2Fimage.png?alt=media&#x26;token=aade1a87-8258-4d0b-9c8b-0c85f78cec02" alt=""><figcaption></figcaption></figure>

The last two fields will change the message when a user opens a ticket.

<figure><img src="https://1313681687-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MNdEPE8uDgCdqMBOotw%2Fuploads%2FvKG9QtU795uCgqgTstq9%2Fimage.png?alt=media&#x26;token=9c991d41-da6f-4d78-9db7-c25141ef4e8c" alt=""><figcaption></figcaption></figure>

<figure><img src="https://1313681687-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MNdEPE8uDgCdqMBOotw%2Fuploads%2Farf4X9MWLIfTDHWNfKKq%2Fimage.png?alt=media&#x26;token=92f83825-45bf-442c-9af0-f4d2ea00b2d2" alt=""><figcaption></figcaption></figure>

If you want to mention the user who opened the ticket, use the `{author}` variable that shows when creating the ticket panel.

If you want to mention a role, use the role's id and put it in `<@&role-id>` , to copy a role ID, go to the role list and right-click the role, then `Copy Role ID`

<figure><img src="https://1313681687-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MNdEPE8uDgCdqMBOotw%2Fuploads%2FLKpOPYhKlaAnreQYu1xr%2Fimage.png?alt=media&#x26;token=b84f3a10-a27a-48ac-92be-c4e1c471cfc7" alt=""><figcaption><p>Developer mode might be needed (Discord settings > App settings > Advanced > Developer mode)</p></figcaption></figure>
