# Slash commands in Discord

Ticket King provides a small set of slash commands. Most of the bot's configuration happens on the web dashboard. Commands are for runtime actions inside Discord.

## In a ticket channel

These commands work inside an active ticket channel. They need ticket permission, which means Manage Channels or Manage Server, or being the server owner, or holding a configured support role. Discord Administrators also pass.

| Command                                 | What it does                                                                                                                                             |
| --------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `/claim`                                | Claim the ticket. The effect depends on your claim mode.                                                                                                 |
| `/unclaim`                              | Release a claim.                                                                                                                                         |
| `/transfer @user`                       | Transfer a claimed ticket to another staff member. The new owner must be the server owner or hold a support role.                                        |
| `/close [reason]`                       | Close the ticket. The reason is optional unless Close Requires Reason is on. The ticket opener can also close, unless Close Requires Support Role is on. |
| `/closerequest [reason]`                | Ask the ticket author to approve closing. It posts a message that pings the author with Accept and Deny buttons.                                         |
| `/priority <level>`                     | Set a priority on the ticket: Low, Medium, High, or Urgent. This adds a colored marker to the channel name.                                              |
| `/add @user` or `/add role:@role`       | Add a user or a role to the ticket channel. Adding a role works in text-channel tickets only.                                                            |
| `/remove @user` or `/remove role:@role` | Remove a user or a role. You cannot remove a role from a thread ticket.                                                                                  |
| `/rename <name>`                        | Rename the ticket channel. Limited to 2 renames per 10 minutes.                                                                                          |
| `/thread`                               | Create a private staff thread attached to a text-channel ticket.                                                                                         |

## Anywhere on the server

| Command                               | What it does                                                                                                                                        |
| ------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------- |
| `/help`                               | Shows a quick reference to Ticket King and links to this documentation. Works for anyone.                                                           |
| `/panel`                              | Posts a basic ticket panel in the current channel using defaults. Needs Manage Server.                                                              |
| `/createticket @user [type] [reason]` | Staff opens a ticket on behalf of a member. The style follows your Manual Ticket Style setting.                                                     |
| `/quicksetup`                         | An interactive 3-step wizard that sets your staff roles, a log channel, and a starter panel. Needs Manage Server. Each step has a short time limit. |
| `/redeem <votes>`                     | Redeems your top.gg votes for premium time on this server. You get 4 days of premium per vote, and can redeem 1 to 999 votes at a time.             |
| `/vote`                               | Shows the top.gg vote link and your current vote count. Works for anyone.                                                                           |
| `/unlinksteam [user]`                 | Unlinks a Steam account. You can unlink your own. Staff can unlink another member with `/unlinksteam @user`.                                        |

## Right-click context menu actions

{% content-ref url="/pages/ZV7lRb0H4EQW1dbXSpyR" %}
[Right-click actions](/docs/reference/right-click-actions.md)
{% endcontent-ref %}

## Slash command name localization

Discord translates slash command **names** and **descriptions** in each user's own command picker, based on that user's Discord client language. For example, a member whose Discord is set to French sees French command names when they type `/`.

The bot's **replies** always use your server's configured Server Language, not the member's client language. Setting the Server Language is covered in [The Server Language setting](/docs/languages/server-language.md).

## Permission to use commands

* Ticket-channel commands need ticket permission (support role, Manage Channels, Manage Server, or server owner, and Administrators pass).
* `/panel` and `/quicksetup` need Manage Server.
* `/createticket` needs ticket permission.
* `/help` and `/vote` work for anyone.
* `/redeem` requires you to be a member of the server. Redeemed votes credit the server you run it in.

## Cooldowns

* Ticket creation has a 10-second cooldown per user.
* Renaming a ticket is limited to 2 renames per 10 minutes.

## When a command fails

If the bot does not reply within a few seconds, Discord shows "This interaction failed." Common causes are the bot being offline, the bot missing a required permission, or using a ticket command outside a ticket channel.

{% content-ref url="/pages/jqRuZ7otlMbsCHzNqzss" %}
[Bot didn't respond to a command](/docs/troubleshooting/bot-didnt-respond.md)
{% endcontent-ref %}

## Related

{% content-ref url="/pages/KkmWwURKzaLoynTbblDc" %}
[Permissions Ticket King needs in Discord](/docs/reference/discord-permissions.md)
{% endcontent-ref %}


---

# 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/reference/slash-commands.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.
