# Discord Bot guide

### How to setup the bot?

1. Once you will ender the webdashboard you will be promted to add the bot to your server,  you choose the server which is needed and accept all the prompts which discord will ask you. <br>

   <figure><img src="/files/HjpW9fhg8ghN93tbmSBm" alt=""><figcaption></figcaption></figure>
2. You then will need to set up where you want the following things to happen - **Channel where users will be able to ask questions to the bot Devrel role on the discord (Or just team members) Category under which the tickets will appear** , use the dashboard setup flow for that (Shown on the screenshot below)\
   &#x20;**IMPORTANT - If you reinvite your bot there might be a data corruption and you will need to do the setup again**<br>

### How to use the bot?&#x20;

* To ask a question use /ask and type in your question, you can then choose the type of the answer (Info below)
* User has the option to choose from **Public** and **Private** answers from the bot. To do this, users need to select the “Privacy” parameter - **True** for the “only visible to you” answer on the server. By default, all answers are public, but user can change it to private while asking the question;
* Make sure your users have the right to use the slash command (You can enable it in role permissions, name of the setting is “Use Application commands”)


---

# 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://assisterr.gitbook.io/assisterr/product-guides/discord-bot-guide.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.
