> ## Documentation Index
> Fetch the complete documentation index at: https://docs.zonely.gen.tr/llms.txt
> Use this file to discover all available pages before exploring further.

# Discord Bot

> Connect the Discord server, edit the bot settings and match site roles with Discord roles.

**Add-ons → Discord Bot → Options → Edit** open the way. First connect the Discord server to the site; then prepare the bot settings and the correspondings of the roles.

## Add Botu to your server

**Add Bot** Open the invitation step with the button. Select and complete the inserting process to choose the Discord server you will use Botu.

**Link Token** when code is ready **Copy** Press the button. This code is for matching your website with Discord server.

[![Link Token, Copy, Reset](https://mintcdn.com/zonely-a8cd49e7/yRAqZ5MQ5bk6d8jo/images/panel/tools-integrations-guide-20261027/discord-botu-01-en.png?fit=max\&auto=format\&n=yRAqZ5MQ5bk6d8jo\&q=85\&s=601f2849a0ad86063b2f3ec4122fc043)](https://docs.zonely.gen.tr/images/panel/tools-integrations-guide-20261027/discord-botu-01-en.png)

> [card] 1. Link Token
>
> Use the server in the step of mapping when the code is ready.

> [card] 2. Copy
>
> Copy the link code.

> [card] 3. Reset
>
> Create new code when needed for rematching.

Zonely bot with your authorized account on the Discord server **/esle** Open the command. Complete the value you copied from the panel to the desired code area and the process. Check the connected server to the panel after the response of the bot.

## Edit the settings of the connected server

**Server Selection** Select the right Discord server from the section. Prepare front additional, language, log channels, roles and ticket options in Bot settings.

[![Bot Prefix & Language, Log Channels, Authorized & Auto Rollers, Interactive Ticket Buttons](https://mintcdn.com/zonely-a8cd49e7/yRAqZ5MQ5bk6d8jo/images/panel/tools-integrations-guide-20261027/discord-botu-02-en.png?fit=max\&auto=format\&n=yRAqZ5MQ5bk6d8jo\&q=85\&s=78c67d7e05efb83129ca57eddd87f935)](https://docs.zonely.gen.tr/images/panel/tools-integrations-guide-20261027/discord-botu-02-en.png)

> [card] 1. Bot Prefix & Language
>
> In the chat, the front additional (!) and the bot language will trigger commands.

> [card] 2. Log Channels
>
> Channel IDs to be transmitted from input-out, moderation and support ticket logs.

> [card] 3. Authorized & Auto Roller
>
> Auto role to manage support requests and assigned to new members.

> [card] 4. Interactive Ticket Buttons
>
> Devral, Close, Banla and Direction actions on the user ticket.

| Chapter | Doing process |
| - | - |
| Prefix and language | Set the front attachment and language of the bot. |
| Log channels | Select channels to be transmitted from the entrance, moderation and ticket records. |
| Authorized role | Set the role to manage support. |
| Automatic role | Select the role to be used for new members. |
| Ticket buttons | Edit transaction names such as Devral, Close, Banla and Oriented. |

Apply settings with the registration button. If you change the connected server, check the channel and role selections accordingly on that server.

## Connect the role of the site to the role of Discord

For example, if you want to use VIP role on the site with the VIP role in Discord **Member Settings → Roller** open the screen. Edit or **Add Role** Press the button; then **Discord** Go to the tab.

[![Role → Discord, Select the role of Discord, Sync the username, Matched account condition](https://mintcdn.com/zonely-a8cd49e7/yRAqZ5MQ5bk6d8jo/images/panel/tools-integrations-guide-20261027/discord-botu-03-en.png?fit=max\&auto=format\&n=yRAqZ5MQ5bk6d8jo\&q=85\&s=eba3db5582346da1ef9cad34f9ff1a99)](https://docs.zonely.gen.tr/images/panel/tools-integrations-guide-20261027/discord-botu-03-en.png)

> [card] 1. Role → Discord
>
> Open Discord tab in role insert form.

> [card] 2. Select the role of Discord
>
> Select the role of Discord to this site role and save role record.

> [card] 3. Sync user name
>
> The username on the site is used as Discord name.

> [card] 4. Matched account condition
>
> Open this site role to give users who are only matched the Discord account.

**Discord Role** Select the corresponding role from the list. Set the role options for the user name to use in Discord and to those who have matched their only account according to your requirement. Home **Publish** or **Update** Save with.

Botun is a separate settings for Discord of the site role with its automatic member role. For Role Matching **Discord Matching** The plugin and the bot must be ready for the server connection.

## Match user account

Login and log in to the user's own account **Match Discord Account** opens the option. It completes authorization with the correct Discord account and is available on the corresponding Discord server.

> [accordion] Discord does not appear or does not data
>
> Check the connected server, the chosen role and user’s account pairing. The role of the bot must be directed to the permission and the role ranking. Make sure you organize the Discord area of the site role related to the automatic member role.

> [card] [Account Match](https://docs.zonely.gen.tr/en/guides/linked-accounts.md#discord-hesabi-esleme)
>
> Check the user’s Discord account binding steps.

> [card] [Roles](https://docs.zonely.gen.tr/en/guides/permissions.md#discord-rol-esleme)
>
> Prepare role matching and user authorizations.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.