# /createticket

## Comando CreateTicket

### Resumen

El `/createticket` El comando abre un ticket para otro miembro. Úsalo cuando el personal necesite iniciar un ticket para alguien.

### Uso

```
/createticket <usuario:@usuario> [tipo] [motivo]
```

* **usuario** *(mención de usuario requerida)*: El miembro para el que es el ticket.
* **tipo** *(texto opcional)*: Una etiqueta para el ticket.
* **motivo** *(texto opcional)*: Una breve explicación de por qué estás abriendo el ticket.

### Descripción

* **Abrir para un miembro**: El personal abre un ticket para un miembro. Esto ayuda cuando el miembro no sabe cómo abrir uno.
* **Etiqueta y motivo**: Un tipo y un motivo ayudan a organizar el ticket, por ejemplo "facturación" o "técnico".
* **Estilo**: El ticket se abre como un canal de texto o un hilo privado según la configuración "Estilo manual de ticket" del servidor.

### Cuándo usarlo

* Cuando un miembro no sabe cómo abrir un ticket.
* Cuando el personal necesita iniciar un ticket para un miembro y comenzar la conversación.

### Permisos

* Puedes usar este comando si tienes Gestionar canales o Gestionar servidor, o si eres el propietario del servidor, o si tienes un rol de soporte autorizado. Administrador también funciona porque incluye esos permisos.
* El bot necesita permiso para crear el ticket. Para un ticket en canal de texto necesita `Gestionar canales`. Para un ticket en hilo necesita `Crear hilos privados`.

### Ejemplos

```
/createticket usuario:@JohnDoe
```

Abre un ticket para John Doe sin tipo ni motivo.

```
/createticket usuario:@JohnDoe tipo:"facturación" motivo:"El usuario solicitó soporte de facturación"
```

Abre un ticket etiquetado como "facturación" y registra el motivo.


---

# 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://ticketking.xyz/docs/es/comandos-del-bot/createticket.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.
