Skip to content

The agent that grows with you

docs(voice): voice-channel access follows DISCORD_ALLOWED_ROLES too

John Paul Solivafbe93e7112a1
diff --git a/website/docs/user-guide/features/voice-mode.md b/website/docs/user-guide/features/voice-mode.md
index a68a37e3d93..e6adb381658 100644
--- a/website/docs/user-guide/features/voice-mode.md
+++ b/website/docs/user-guide/features/voice-mode.md
@@ -439,7 +439,7 @@ The bot automatically pauses its audio listener while playing TTS replies, preve
### Access Control
-Only users listed in `DISCORD_ALLOWED_USERS` can interact via voice. Other users' audio is silently ignored.
+Only users allowed by `DISCORD_ALLOWED_USERS` or `DISCORD_ALLOWED_ROLES` can interact via voice; a role is checked for the speaker each time they talk. Other users' audio is silently ignored.
```bash
# ~/.hermes/.env
diff --git a/website/i18n/zh-Hans/docusaurus-plugin-content-docs/current/user-guide/features/voice-mode.md b/website/i18n/zh-Hans/docusaurus-plugin-content-docs/current/user-guide/features/voice-mode.md
index 273f25fc71e..91a8f6f9a52 100644
--- a/website/i18n/zh-Hans/docusaurus-plugin-content-docs/current/user-guide/features/voice-mode.md
+++ b/website/i18n/zh-Hans/docusaurus-plugin-content-docs/current/user-guide/features/voice-mode.md
@@ -361,7 +361,7 @@ Bot 在播放 TTS 回复时会自动暂停音频监听,防止听到并重复
### 访问控制
-只有 `DISCORD_ALLOWED_USERS` 中列出的用户才能通过语音进行交互。其他用户的音频会被静默忽略。
+只有 `DISCORD_ALLOWED_USERS` 或 `DISCORD_ALLOWED_ROLES` 允许的用户才能通过语音进行交互;每次说话时都会为说话者检查身份组。其他用户的音频会被静默忽略。
```bash
# ~/.hermes/.env