Skip to content

The agent that grows with you

fix(discord): invite link and docs drop the unused Use External Emojis permission

teknium1937f23db2d70
diff --git a/.env.example b/.env.example
index bff3fa2d235..071ca3716b3 100644
--- a/.env.example
+++ b/.env.example
@@ -386,7 +386,7 @@ BROWSER_INACTIVITY_TIMEOUT=120
# DISCORD_HOME_CHANNEL= # Channel ID for cron delivery (or type /set-home in Discord)
#
# Invite the bot to your server (replace YOUR_APP_ID with the Application ID):
-# https://discord.com/oauth2/authorize?client_id=YOUR_APP_ID&scope=bot+applications.commands&permissions=309241171008&integration_type=0
+# https://discord.com/oauth2/authorize?client_id=YOUR_APP_ID&scope=bot+applications.commands&permissions=309240908864&integration_type=0
# =============================================================================
# SLACK INTEGRATION
diff --git a/plugins/platforms/discord/onboarding.py b/plugins/platforms/discord/onboarding.py
index aa848dbf158..40094d30640 100644
--- a/plugins/platforms/discord/onboarding.py
+++ b/plugins/platforms/discord/onboarding.py
@@ -23,7 +23,6 @@ INVITE_PERMISSION_BITS = {
"Embed Links": 14,
"Attach Files": 15,
"Read Message History": 16,
- "Use External Emojis": 18,
"Connect": 20,
"Speak": 21,
"Create Public Threads": 35,
diff --git a/website/docs/user-guide/messaging/discord.md b/website/docs/user-guide/messaging/discord.md
index d458cc253f5..8cd322ca9f5 100644
--- a/website/docs/user-guide/messaging/discord.md
+++ b/website/docs/user-guide/messaging/discord.md
@@ -197,7 +197,7 @@ This method requires **Public Bot** to be set to **ON** in Step 2. If you set Pu
You can construct the invite URL directly using this format:
```
-https://discord.com/oauth2/authorize?client_id=YOUR_APP_ID&scope=bot+applications.commands&permissions=309238025280
+https://discord.com/oauth2/authorize?client_id=YOUR_APP_ID&scope=bot+applications.commands&permissions=309237763136
```
Replace `YOUR_APP_ID` with the Application ID from Step 1.
@@ -222,9 +222,9 @@ These are the minimum permissions your bot needs:
| Level | Permissions Integer | What's Included |
|-------|-------------------|-----------------|
-| Minimal | `117760` | View Channels, Send Messages, Read Message History, Attach Files |
-| Recommended | `309238025280` | All of the above plus Embed Links, Create Public Threads, Send Messages in Threads, Add Reactions |
-| Full (what `hermes gateway setup` prints) | `309241171008` | Recommended plus Connect and Speak (voice channels) |
+| Minimal | `117760` | View Channels, Send Messages, Embed Links, Attach Files, Read Message History |
+| Recommended | `309237763136` | All of the above plus Create Public Threads, Send Messages in Threads, Add Reactions |
+| Full (what `hermes gateway setup` prints) | `309240908864` | Recommended plus Connect and Speak (voice channels) |
Existing installations do not gain newly requested permissions automatically.
If you used an older Recommended URL, re-invite the bot with the URL above to
diff --git a/website/i18n/zh-Hans/docusaurus-plugin-content-docs/current/user-guide/messaging/discord.md b/website/i18n/zh-Hans/docusaurus-plugin-content-docs/current/user-guide/messaging/discord.md
index 587632fb7b6..d194df1bf2c 100644
--- a/website/i18n/zh-Hans/docusaurus-plugin-content-docs/current/user-guide/messaging/discord.md
+++ b/website/i18n/zh-Hans/docusaurus-plugin-content-docs/current/user-guide/messaging/discord.md
@@ -214,8 +214,8 @@ https://discord.com/oauth2/authorize?client_id=YOUR_APP_ID&scope=bot+application
| 级别 | 权限整数 | 包含内容 |
|-------|-------------------|-----------------|
-| 最低 | `117760` | View Channels、Send Messages、Read Message History、Attach Files |
-| 推荐 | `309237763136` | 以上所有权限,加上 Embed Links、Send Messages in Threads、Add Reactions, Create Public Threads |
+| 最低 | `117760` | View Channels、Send Messages、Embed Links、Attach Files、Read Message History |
+| 推荐 | `309237763136` | 以上所有权限,加上 Create Public Threads、Send Messages in Threads、Add Reactions |
## 第六步:邀请到你的服务器