# Command Style Tickets

To access these settings:

> Head to your [Dashboard](https://tickettool.xyz/manage-servers)\
> Select your server\
> Go to the [**Panel Configs**](https://docs.tickettool.xyz/dashboard/panel-configs) Tab\
> Under **Panel Settings**, click on **Command Style** Options

Ticket Tool not only offers you the possibility to use [Panel Buttons](https://docs.tickettool.xyz/dashboard/panel-configs/panel-options) and [DropDowns](https://docs.tickettool.xyz/dashboard/panel-configs/dropdown-style) to create tickets, but it also allows you to use Commands!

#### Enable Command Style ticket creation

If this option is disabled the rest of the settings won't sort any effect. Once you have enabled this module, you'll be able to use the `$new` and `$ticket` commands! These commands have two **optional** arguments you can use when executing them:

> `$new User Reason`

{% hint style="info" %}
Note that **`User`** can be either the ID or a mention to the user you want to open a ticket in behalf of. These two commands allow you to use the **`{reason}`** variable inside your tickets!
{% endhint %}

So for example if I used:

> `$new 518666147441278998 Testing`

Ticket Tool would open a ticket for the user with ID **`518666147441278998`** with the **`{reason}`** variable being "Testing"

#### Delete command after creating ticket

If enabled, once the ticket has been created the trigger command will be deleted by the bot.

#### Bypass channel list and watch all of them

Whenever someone uses the `$new` or the `$ticket` command in **any channel** the bot has access to, it will create a ticket!

#### Channel to monitor for command $new and $ticket

This is the opposite of the previous option, you can actually select in which channels Ticket Tool should look for the **`$new`** command instead of looking in the whole server. For this option to be effective the **bypass must be off**.

{% hint style="success" %}
Make sure to always **save** changes using the pop-up shown whenever a change is done.
{% endhint %}


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.tickettool.xyz/dashboard/panel-configs/command-style-tickets.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
