> For the complete documentation index, see [llms.txt](https://ticketking.xyz/docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://ticketking.xyz/docs/de/bot-befehle/close.md).

# /close

## Befehl zum Schließen

### Übersicht

Die `/close` Dieser Befehl schließt das aktuelle Ticket. Du kannst einen Grund hinzufügen. Führe ihn im Ticket aus.

### Verwendung

```
/close [reason]
```

* **Grund** *(optionaler Text)*: Eine kurze Erklärung zum Schließen des Tickets, zum Beispiel "Problem gelöst" oder "Nicht mehr benötigt".

### Beschreibung

* **Ticket schließen**: Schließt das Ticket, sodass keine weiteren Nachrichten gesendet werden können.
* **Grund**: Der Grund ist optional. Er wird nur erforderlich, wenn die Einstellung „Schließen erfordert Grund“ aktiviert ist. Wenn diese Einstellung aktiviert ist und du `/close` ohne einen Grund ausführst, antwortet der Bot, dass ein Grund erforderlich ist. Führe ihn also einfach erneut mit einem Grund aus.
* **Beim Schließen**: Es wird ein Transkript erstellt. Wenn ein Protokollkanal für geschlossene Tickets festgelegt ist, postet der Bot dort einen Protokolleintrag mit einem Link zum Transkript.

### Wann man es verwenden sollte

* Wenn das Ticket gelöst ist.
* Wenn das Ticket nicht mehr benötigt wird oder versehentlich geöffnet wurde.

### Berechtigungen

* Du kannst ein Ticket schließen, wenn du „Kanäle verwalten“ oder „Server verwalten“ hast, der Serverbesitzer bist oder eine autorisierte Support-Rolle hast. Administrator funktioniert ebenfalls, da es diese Berechtigungen einschließt.
* Die Person, die das Ticket eröffnet hat, kann es ebenfalls schließen, es sei denn, die Einstellung „Schließen erfordert Support-Rolle“ ist aktiviert. Wenn diese Einstellung aktiviert ist, können nur Mitarbeiter schließen.
* Der Bot verwaltet den Ticket-Kanal, um ihn zu schließen.

### Beispiele

```
/close
```

Schließt das Ticket ohne einen Grund. Wenn „Schließen erfordert Grund“ aktiviert ist, teilt der Bot dir mit, dass ein Grund erforderlich ist. Führe also `/close reason:"..."` stattdessen.

```
/close reason:"Problem gelöst"
```

Schließt das Ticket und protokolliert "Problem gelöst" als Grund.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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, and the optional `goal` query parameter:

```
GET https://ticketking.xyz/docs/de/bot-befehle/close.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
