# Add the Bot

## Inviting the bot

To add the bot to your server you will need to invite it using the [invite link](https://nvstly.com/addbot) then select the server you want to add it to.\
Bot Invite Link: <https://nvstly.com/addbot>

![](/files/pPb4Ot3wwj2jvTbe4jg4)

## Permissions

The bot's permissions are required for it to function, this is to ensure a high quality user experience as it was intended. None of these permissions are security sensitive.

![](/files/oypqjfzBeUMx9GmQDbxo)\
\
There is 1 **optional** permission that you can grant the bot after it has been added. The `Manage Roles` permission will allow the bot to create roles that are linked to badges on the website such as ***Top Trader*** and ***High Win Rate*** which are rewarded to traders who earned them from holding a top ranked position on the leaderboard, or having a 70% win rate or higher.

### Greeting Message

When the bot joins the server it scans for channels with the keywords "general", "hangout", & "chat" to send it's greeting message. If it does not detect a channel containing a key word it sends the message into the first channel it has the `Send Messages` permission. \
\
This greeting message will inform you that a setup is not required but will prompt you with the available commands for settings.\
\ <img src="/files/EIhULZnxg5KhsLtE8zuz" alt="" data-size="original">


---

# 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://docs.nvstly.com/discord-bot-setup/add-the-bot.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.
