# All slash commands

#### **For admins / ticket configuration**

* /guide - a full guide that will help you set up the bot perfectly
* /add support \[channel] – Deploys the ticket panel (with “Open Ticket” button) into a chosen channel and saves it as the main support channel.
* /add logs \[channel] – Sets which channel should receive ticket logs and transcript notifications.
* /add admin-role \[role] – Marks a role as “Ticket Bot admin”; people with this role can run all admin/config commands.
* /add pingrole \[role] – Sets a role to ping automatically when new tickets are created.
* /add button \[button\_id] – Adds a custom button to the ticket panel (e.g. for FAQs, rules, applications); opens a modal to choose label, color, emoji.
* /remove \[button\_id] – Removes a custom button from the ticket panel.
* /edit – Opens a modal to edit the main panel text (title, description, footer, color, primary button label/emoji).
* /edit-inside-panel - allows you to customize the welcome message that appears inside ticket channels when users create tickets.
* /analytics - shows you tickets, trends ,staff, AI, usage, compare, billing
* /billing - purchase the subscription for the bot

### **AI / knowledge base & advanced admin commands**

* /view-base – Lists all current knowledge base entries with numbers so you can review what the AI “knows”.
* /learn-form – Opens a form (modal) where you can submit a question, answer, and tags to teach the bot a new FAQ-style entry.
* /learn-from-doc \[file] \[tags] – Upload a .txt/.md/.docx/.pdf; the bot extracts Q\&A-style entries and adds them to the knowledge base.
* /modify-base \[number] ... – Edit an existing knowledge entry (title/content/tags/type) by its number from /view-base.
* /delete-base \[number] – Delete a single knowledge entry.
* /clear-base – Wipe the entire knowledge base for that server (admin-only, destructive).
* /detector \[enable|disable] – Turn on/off AI “detector” mode, which can spot support issues in a selected channel.
* /responder \[enable|disable] – Turn on/off AI replying inside ticket channels.
* /select-detector-channel \[channel] – Choose which channel the detector should watch (otherwise it can work in all channels).


---

# 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://ansari-labs.gitbook.io/ansari-labs/products/ai-powered-ticket-tool/all-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.
