> For the complete documentation index, see [llms.txt](https://docs.tip4serv.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.tip4serv.com/discord-setup/discord-bot.md).

# Discord bot

The Tip4Serv bot allows you to give roles to your donors, send them a private message and send a message in a channel.

To **add your Discord server**, follow the steps in [MY SERVERS](https://tip4serv.com/dashboard/my-servers)

{% hint style="info" %}
To configure the roles and the messages to send to customers see [this section](/server-commands.md)&#x20;
{% endhint %}

## Bot troubleshooting

If the bot does not work please read the information below.

### Why members not receiving their Discord role after purchase?

Tip4Serv bot need permission to give a role to a member, it must be above the role to be given.

Go to your **Discord server settings** and simply **drag the Tip4Serv bot role above the other roles** as below:

<figure><img src="/files/QI5B46YE9OfLCvHwtGXt" alt=""><figcaption><p>Roles settings</p></figcaption></figure>

### Why are the messages not sent in the chanel?

Tip4serv bot must have permission to post messages to a channel on your server.

Edit channel, go to Permissions and **add Tip4serv.com bot in the ROLES/MEMBERS list**

<figure><img src="/files/EN06mGyNHyfW37sMBiZs" alt=""><figcaption><p>Channel permissions</p></figcaption></figure>

### Check bot permissions

Be sure to give the following permissions to the Tip4Serv bot:&#x20;

* Manage Role
* Manage Server
* Send Message
* Embed Links

<figure><img src="/files/vAWV89jretFhnMES1GMF" alt=""><figcaption></figcaption></figure>
