# 添加到自己服务器

**邀请 Midjourney 机器人到任何 Discord 服务器与朋友一起创建，或创建个人 Discord 服务器来组织您的工作。**

一旦 Midjourney Bot 加入您的服务器，您就可以开始使用`/imagine`命令与其交互。

#### 注意

[在私人服务器上生成的 Midjourney 图像仍受 Midjourney 的社区准则](https://docs.midjourney.com/docs/community-guidelines)约束。

[在私人服务器上生成的图像仍然对midjourney.com](https://midjourney.com/)上的其他用户可见。

要在任何服务器中使用 Midjourney Bot，用户必须具有有效的 Midjourney 试用版或订阅版。`/imagine`首次使用 将自动开始为新用户提供试用会员资格。

***

### 如何添加 <a href="#how-to-add-the-bot" id="how-to-add-the-bot"></a>

从用户列表中选择 Midjourney Bot，然后单击**添加到服务器**：\
![MJ\_BotInvite.png](https://cdn.document360.io/3040c2b6-fead-4744-a3a9-d56d621c6c7e/Images/Documentation/MJ_BotInvite.png)

选择要将其添加到的服务器，然后按照 discord 中的说明进行操作。

![MJ\_AuthorizeBot](https://cdn.document360.io/3040c2b6-fead-4744-a3a9-d56d621c6c7e/Images/Documentation/MJ_AuthorizeBot.png)

授权并确认您要添加外部应用程序。 如果您没有看到您的服务器列出，请按照以下说明创建管理员角色。

***

### 机器人管理 <a href="#bot-management" id="bot-management"></a>

#### 将机器人限制在特定频道 <a href="#restrict-the-bot-to-specific-channels" id="restrict-the-bot-to-specific-channels"></a>

I如果您不希望 Midjourney Bot 在特定频道中可用，请转至 **Edit Channel**, 选择 **Permissions** 选项卡 在**Roles/Members** 下选择 **@everyone** 并且取消 **"Use Application Commands."**\
尝试在禁用这些权限的频道中使用 Midjourney Bot 的用户将看不到该命令。

![MJ\_RestrictChannel.png](https://cdn.document360.io/3040c2b6-fead-4744-a3a9-d56d621c6c7e/Images/Documentation/MJ_RestrictChannel.png)

要进行更精细的控制，请转至 **Settings**, 选择 **Integrations**, **Permissions** , the **+ for the Midjourney Bot**, and **Manage Integration.**\
`slash command`然后可以为各个角色和频道设置权限。

![MJ\_RestrictGranular.png](https://cdn.document360.io/3040c2b6-fead-4744-a3a9-d56d621c6c7e/Images/Documentation/MJ_RestrictGranular.png)

#### 在您的服务器上获取状态更新和公告 <a href="#get-status-updates-and-announcements-on-your-server" id="get-status-updates-and-announcements-on-your-server"></a>

在您的服务器上关注 Midjourney 官方 Discord`#announcements`和`#status`频道，以了解 Midjourney 的最新信息。

![MJ\_StatusFollow.png](https://cdn.document360.io/3040c2b6-fead-4744-a3a9-d56d621c6c7e/Images/Documentation/MJ_StatusFollow.png)

#### 创建管理员角色 <a href="#create-an-administrator-role" id="create-an-administrator-role"></a>

**只有具有“管理服务器”权限的个人才能将 Midjourney Bot 添加到该服务器。如果您没有在列表中看到您的服务器，请确保您拥有此权限。**

1. 从您的 Discord 服务器主页。在“服务器设置”菜单中选&#x62E9;**“角色”选项卡。**\
   ![MJ\_ServerSettings.png](https://cdn.document360.io/3040c2b6-fead-4744-a3a9-d56d621c6c7e/Images/Documentation/MJ_ServerSettings.png)
2. 选择**角色**选项卡和**创建角色**。

![MJ\_CreateRole.png](https://cdn.document360.io/3040c2b6-fead-4744-a3a9-d56d621c6c7e/Images/Documentation/MJ_CreateRole.png)

3. 命名新角色并启用**管理服务器**权限。（移动设备上的管理器功率级别）

![MJ\_ManageServerPermissions.png](https://cdn.document360.io/3040c2b6-fead-4744-a3a9-d56d621c6c7e/Images/Documentation/MJ_ManageServerPermissions.png)

4. 选&#x62E9;**“管理成员”**&#x9009;项卡并将新角色分配给您自己。

![MJ\_addMember.png](https://cdn.document360.io/3040c2b6-fead-4744-a3a9-d56d621c6c7e/Images/Documentation/MJ_addMember.png)

5. **保存**您的更改。


---

# 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://limi.gitbook.io/mj-doc/shi-yong-discord/tian-jia-dao-zi-ji-fu-wu-qi.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.
