Skip to content

Commit

Permalink
docs: 📝 add permission requirements for discord bot
Browse files Browse the repository at this point in the history
  • Loading branch information
AnzhiZhang committed Dec 22, 2023
1 parent fbb1278 commit 13dad5e
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 0 deletions.
6 changes: 6 additions & 0 deletions readme-zh.md
Original file line number Diff line number Diff line change
Expand Up @@ -117,6 +117,12 @@ MC 消息的格式化文本,占位符含义请参考下表:

该功能为双向转发,即 MC 内消息会发送到 Discord 对应频道,频道内消息将被转发到 MC 内。使用 `/list` 指令即可查看在线玩家列表。

Discord 机器人需要以下权限:

- Read Messages/View Channels
- Send Messages
- Use Slash Commands

#### enable

默认值:`false`
Expand Down
6 changes: 6 additions & 0 deletions readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -118,6 +118,12 @@ Message for `list` command when player list is empty.

This function is double way forwarding, which is Minecraft chat will send to Discord channel, and channel message will send to Minecraft. Use `/list` command can show online player list.

Discord bot requires the following permissions:

- Read Messages/View Channels
- Send Messages
- Use Slash Commands

#### enable

Default: `false`
Expand Down

0 comments on commit 13dad5e

Please sign in to comment.