# /thread

## Thread Command

### Overview

The `/thread` command creates a private thread for staff discussion related to a particular ticket. This helps staff coordinate internally without exposing internal conversation to the user.

### Usage

```
/thread
```

### Description

* **Private Discussion**: Generates a private staff thread inside the ticket channel (or associated category) for behind-the-scenes coordination. This private staff thread will remain private and is not included in the transcript generated when the ticket is closed.
* **Improved Organization**: Keeps user-facing channel clear of staff-only chatter while keeping all ticket-related info in one place.

### When to Use It

* When staff need to discuss sensitive or behind-the-scenes information about an open ticket.
* If multiple staff members are collaborating on a complex issue.

### Permissions

* Staff-only usage.
* Bot requires `Manage Channels` and `Create Private Threads` permissions in the channel where the thread is created.

### Example

```
/thread
```

Creates a private thread where only staff can see and message.


---

# 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.ticketking.xyz/bot-commands/thread.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.
