> ## 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

> 连接Discord服务器,编辑bot设置并匹配Discord角色的站点角色.

**加-进- + Discord 瓶子 选择 编辑** 打开路,先把路连接起来 Discord 服务器到网站;然后准备各角色的bot设置和相应的设置。

## 将 Botu 添加到您的服务器

**添加瓶** 打开邀请步骤,按下按钮。选择并完成插入进程,以选择 Discord 您将使用 Botu 服务器 。

**链接托肯** 代码准备好后 **复制** 按下按钮。此代码用于匹配您的网站 Discord 服务器。

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

> [card] 1. 链接托肯
>
> 代码准备好后在映射步骤中使用服务器.

> [card] 2. 复制本
>
> 复制链接代码 。

> [card] 3. 重设
>
> 需要重配时创建新代码 。

Zonely 装有你授权的账户的机器人 Discord 服务器 **/esle** 打开命令。 完成您从面板复制到想要的代码区和进程的价值。 在机器人回复后检查连接到面板的服务器 。

## 编辑连接服务器的设置

**服务器选择** 选择右边 Discord 。在 Bot 设置中准备前置、语言、日志通道、角色和票务选项。

[![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-zh-CN.png?fit=max\&auto=format\&n=yRAqZ5MQ5bk6d8jo\&q=85\&s=968934bb571c46d40f4c930241201484)](https://docs.zonely.gen.tr/images/panel/tools-integrations-guide-20261027/discord-botu-02-zh-CN.png)

> [card] 1. 瓶前缀和语言
>
> 在聊天中,前置附加(!)和bot语言会触发命令.

> [card] 2. 日志通道
>
> 频道ID从出入口,节制和支持票房记录中传输.

> [card] 3. 授权的( P) 自动滚车
>
> 自动管理支持请求并分配给新成员。

> [card] 4. 互动出票按钮
>
> 德弗勒, Close, Banla 和方向行动在用户票上.

| 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. |

应用注册按钮设置。 如果您更改了连接的服务器, 请检查该服务器上的频道和角色选择 。

## 将网站角色与角色连接 Discord

例如,如果想要使用 VIP 与网站中的角色 VIP 角色在 Discord **成员设置 \~ 滚筒** 打开屏幕。编辑或 **添加角色( D)** 按下按钮;然后 **Discord** 转到分帐上。

[![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-zh-CN.png?fit=max\&auto=format\&n=yRAqZ5MQ5bk6d8jo\&q=85\&s=125d5f80465fb04a79048048220c62e4)](https://docs.zonely.gen.tr/images/panel/tools-integrations-guide-20261027/discord-botu-03-zh-CN.png)

> [card] 1. 角色- 差异
>
> 打开 Discord 选项卡在角色插入形式。

> [card] 2. 选择Discord的作用
>
> 选择角色 Discord 以至此站点角色并保存角色记录。

> [card] 3. 同步用户名
>
> 网站上的用户名用作 Discord 名称。

> [card] 4. 匹配账户条件
>
> 打开此站点角色, 给用户只匹配 Discord 账户。

**Discord 作用** 从列表中选择相应的角色。 设置用户名在 Discord 以及那些按照你的要求 符合自己唯一账户的人 **出版** 或 或 双 **更新** 存取与相会.

Botun 是用于 Discord ,用于角色匹配 **Discord 匹配** 插件和机器人必须准备好服务器连接.

## 匹配用户账户

登录并登录到用户自己的账户 **匹配 Discord 账户** 打开选项。它以正确的方式完成授权 Discord 账户,并可在相应的账户上查阅。 Discord 服务器。

> [accordion] 解析器没有出现或没有数据
>
> 检查连接的服务器、 所选的角色和用户的账户对等。 机器人的角色必须被引导到权限和角色排序。 请确定您组织 Discord 与自动成员角色有关的网站角色区域。

> [card] [账户匹配](https://docs.zonely.gen.tr/zh-CN/guides/linked-accounts.md#discord-hesabi-esleme)
>
> 检查用户的 Discord 账户绑定步骤。

> [card] [角色](https://docs.zonely.gen.tr/zh-CN/guides/permissions.md#discord-rol-esleme)
>
> 准备角色匹配和用户授权 。


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