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

# Haze Ticket System: Full Command Reference

> Every admin, button-management, and in-ticket command for the haze ticket system, with prefix, aliases, and a description of what each command does.

This page lists every command available in the haze ticket system, organised by who runs them and when. Use it as a quick reference when configuring your setup or managing live tickets.

<Note>
  The command prefix is `,`. The group accepts three aliases: `ticket`, `tickets`, and `tck` — for example, `,tickets setup` and `,tck setup` are identical to `,ticket setup`.
</Note>

## Admin Commands

These commands configure the ticket system and are intended for server administrators.

| Command                             | Description                                                           |
| ----------------------------------- | --------------------------------------------------------------------- |
| `ticket setup`                      | Create the Tickets category, #transcripts channel, and panel message  |
| `ticket panel <message>`            | Bind the panel to an existing bot message by link or ID               |
| `ticket refresh`                    | Rebuild the panel buttons to apply any configuration changes          |
| `ticket config`                     | Display all current ticket settings                                   |
| `ticket category [category]`        | Set the default category where ticket channels are created            |
| `ticket limit <0-200>`              | Set the maximum number of open tickets per member                     |
| `ticket inactivity <minutes>`       | Auto-close tickets idle for this many minutes (minimum 30, 0 = off)   |
| `ticket welcome [text\|script]`     | Set the default message posted when a ticket opens                    |
| `ticket name [template]`            | Set the channel name template for new tickets                         |
| `ticket topic [template]`           | Set the default channel topic for new tickets                         |
| `ticket message title [text]`       | Set the panel embed title                                             |
| `ticket message description [text]` | Set the panel embed description                                       |
| `ticket ping <on\|off>`             | Toggle whether staff are mentioned when a ticket opens                |
| `ticket staff [@role]`              | Toggle a role's staff access (view, claim, close, add/remove members) |
| `ticket support [@role]`            | Toggle a role that is mentioned when a ticket opens                   |
| `ticket blacklist <@user\|@role>`   | Prevent a user or role from opening tickets                           |
| `ticket transcripts <#channel\|dm>` | Add or set transcript destinations                                    |
| `ticket list`                       | Show all currently open tickets                                       |

## Button Commands

Use these commands to manage the buttons that appear on your ticket panel.

| Command                                     | Description                                                      |
| ------------------------------------------- | ---------------------------------------------------------------- |
| `ticket button add <label> [style] [emoji]` | Add a new button to the panel                                    |
| `ticket button remove <id>`                 | Remove a button from the panel                                   |
| `ticket button list`                        | List all buttons with their IDs and settings                     |
| `ticket button edit <id> <label>`           | Rename a button                                                  |
| `ticket button emoji <id> [emoji]`          | Set or clear the emoji on a button                               |
| `ticket button style <id> <style>`          | Set button style: `primary`, `secondary`, `success`, or `danger` |
| `ticket button category <id> [category]`    | Override the ticket category for this button                     |
| `ticket button topic <id> [topic]`          | Override the channel topic for tickets opened by this button     |
| `ticket button welcome <id> [text\|script]` | Override the open message for tickets opened by this button      |

## In-Ticket Commands

These commands are run inside an open ticket channel by staff or the ticket owner.

| Command                 | Description                                                      |
| ----------------------- | ---------------------------------------------------------------- |
| `ticket close [reason]` | Close the ticket, generate a transcript, and archive the channel |
| `ticket claim`          | Claim the ticket as your own (staff only)                        |
| `ticket add @user`      | Grant a user access to view and message in the ticket            |
| `ticket remove @user`   | Revoke a user's access to the ticket                             |
