> ## Documentation Index
> Fetch the complete documentation index at: https://docs.razebot.tech/llms.txt
> Use this file to discover all available pages before exploring further.

# Ticket System

> Deploy interactive ticket panels, button dispatchers, user management, and ticket channel lifecycle commands.

# Ticket System

<Badge variant="pro">Tier 2: Pro</Badge>

> Complete support ticket infrastructure with interactive button panels, custom ticket names, member permissions, DM reminders, and ticket lifecycle management.

***

## Command Overview

| Command   | Aliases | Syntax                             | Description                                  | Permissions   |
| :-------- | :------ | :--------------------------------- | :------------------------------------------- | :------------ |
| `.ticket` | —       | `.ticket <subcommand> [arguments]` | Manage ticket panels, channels, and members. | Administrator |

***

## Ticket Panel Configuration

### ticket panel

Build and deploy interactive panels where members click buttons or select menus to open support tickets.

| Subcommand  | Syntax                           | Description                                 | Example                           |
| :---------- | :------------------------------- | :------------------------------------------ | :-------------------------------- |
| `setup`     | `.ticket panel setup <name>`     | Starts setup wizard for a new ticket panel  | `.ticket panel setup support`     |
| `enable`    | `.ticket panel enable <name>`    | Enables a ticket panel                      | `.ticket panel enable support`    |
| `disable`   | `.ticket panel disable <name>`   | Disables a ticket panel                     | `.ticket panel disable support`   |
| `embededit` | `.ticket panel embededit <name>` | Customizes embed text/color for the panel   | `.ticket panel embededit support` |
| `update`    | `.ticket panel update <name>`    | Updates panel message in the channel        | `.ticket panel update support`    |
| `list`      | `.ticket panel list`             | Lists all created ticket panels             | `.ticket panel list`              |
| `reset`     | `.ticket panel reset <name>`     | Resets/deletes a ticket panel configuration | `.ticket panel reset support`     |

***

## Ticket Channel Lifecycle Commands

Manage individual open ticket channels with the following subcommands:

| Subcommand | Syntax                                    | Description                                 | Example                                         |
| :--------- | :---------------------------------------- | :------------------------------------------ | :---------------------------------------------- |
| `open`     | `.ticket open [#channel\|channelId]`      | Opens or re-opens a ticket channel          | `.ticket open`                                  |
| `close`    | `.ticket close [#channel\|channelId]`     | Closes the current or target ticket channel | `.ticket close`                                 |
| `delete`   | `.ticket delete [#channel\|channelId]`    | Permanently deletes the ticket channel      | `.ticket delete`                                |
| `rename`   | `.ticket rename <new name>`               | Renames the current ticket channel          | `.ticket rename billing-support`                |
| `add`      | `.ticket add <@user\|userid>`             | Adds a member to the current ticket         | `.ticket add @User`                             |
| `remove`   | `.ticket remove <@user\|userid>`          | Removes a member from the ticket            | `.ticket remove @User`                          |
| `remind`   | `.ticket remind <@user\|userid> [reason]` | Sends a DM reminder to ticket creator       | `.ticket remind @User Please reply to continue` |

***

## Setup Examples

<Tabs>
  <Tab title="Create Panel">
    ```bash theme={null} theme={null}
    .ticket panel setup general-support
    .ticket panel embededit general-support
    .ticket panel list
    ```
  </Tab>

  <Tab title="Managing an Open Ticket">
    ```bash theme={null} theme={null}
    .ticket rename billing-resolved
    .ticket add @BillingSpecialist
    .ticket remind @User Are you satisfied with the solution?
    .ticket close
    .ticket delete
    ```
  </Tab>
</Tabs>
