> ## 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: Private Support Channels Overview

> Learn how haze turns Discord buttons into private support channels, complete with staff controls, welcome messages, and automatic transcripts.

Haze tickets give your server a full-featured support system built directly into Discord. When a member clicks a button on your ticket panel, haze opens a private channel visible only to that member and your staff — no bots, no noise, just a focused space to get things resolved. When the ticket closes, haze builds a transcript and archives it automatically.

## How Tickets Work

The ticket flow moves through five stages from the moment a member clicks a button to the moment the conversation is archived.

1. **Panel button** — A member clicks one of the buttons on your ticket panel message. Each button can represent a different support category (e.g. Billing, General, Appeals).
2. **Channel created** — Haze creates a private channel inside your Tickets category with permissions locked to the member, your staff roles, and the bot itself.
3. **Welcome message** — Haze posts an opening card in the new channel. This can be a simple text prompt or a fully scripted component message with links, separators, and formatted fields.
4. **Claim and close** — Staff see **Claim** and **Close** buttons on the open card. Claiming marks a ticket as owned by a specific staff member; closing triggers the transcript process.
5. **Transcript archived** — Haze scrapes the channel history, builds a JSON record and a plain-text dump, posts a summary to your transcripts channel, and publishes a private web page at `haze.rest`.

## What Gets Set Up

Running `,ticket setup` provisions everything your server needs in one command:

* A **Tickets category** with `@everyone` denied, so all channels inside are private by default.
* A **#transcripts channel** restricted to staff and the bot, where closed-ticket summaries are posted.
* A **panel message** in your current channel with a default **Open ticket** button ready to use.

You can customise the panel, add more buttons, and adjust every setting after setup — none of the defaults are permanent.
