Skip to content

Commit 59d0808

Browse files
authored
Merge pull request #128 from gitplayer4/en/v2
Update agent.md
2 parents f89dd5d + e10692d commit 59d0808

File tree

1 file changed

+8
-7
lines changed

1 file changed

+8
-7
lines changed

docs/user_manual/ai/agent.md

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -319,11 +319,11 @@
319319
!!! note ""
320320
After starting the Gateway, verify whether the configuration is successful by following these steps:
321321

322-
- 1. Open the Discord client and enter the server where the bot was added.
322+
- 1. Open the Discord client and enter the server where the bot was added.
323323

324-
- 2. In the target channel (e.g., #general), send a message mentioning the bot (e.g., @OpenClaw Bot hello).
324+
- 2. In the target channel (e.g., #general), send a message mentioning the bot (e.g., @OpenClaw Bot hello).
325325

326-
- 3. If the bot replies normally, it indicates that the configuration is successful. The test effect is shown in the figure below.
326+
- 3. If the bot replies normally, it indicates that the configuration is successful. The test effect is shown in the figure below.
327327

328328
![img.png](../../img/ai/Discord_OpenClaw_Bot_Test_Page.png)
329329

@@ -341,13 +341,14 @@
341341

342342
#### Common Issues and Solutions
343343

344-
- "Used disallowed intents": Enable "Message Content Intent" (and "Server Members Intent" if needed) in the Discord Developer Portal, then restart the Gateway.
344+
!!! note ""
345+
- "Used disallowed intents": Enable "Message Content Intent" (and "Server Members Intent" if needed) in the Discord Developer Portal, then restart the Gateway.
345346

346-
- Bot connects but does not reply in server channels: Check if the bot has "View Channels", "Send Messages", and "Read Message History" permissions; ensure "Message Content Intent" is enabled; verify if the configuration requires mentioning the bot (requireMention: true) but you did not mention it; check if the server/channel allowlist rejects the current channel/user.
347+
- Bot connects but does not reply in server channels: Check if the bot has "View Channels", "Send Messages", and "Read Message History" permissions; ensure "Message Content Intent" is enabled; verify if the configuration requires mentioning the bot (requireMention: true) but you did not mention it; check if the server/channel allowlist rejects the current channel/user.
347348

348-
- Private messages not working: Check if "channels.discord.dm.enabled" is false or "dm.policy" is "disabled"; if "dm.policy" is "pairing", you need to approve the pairing code first (run "openclaw pairing approve discord <code>").
349+
- Private messages not working: Check if "channels.discord.dm.enabled" is false or "dm.policy" is "disabled"; if "dm.policy" is "pairing", you need to approve the pairing code first (run "openclaw pairing approve discord <code>").
349350

350-
- requireMention: false but no reply: The default "groupPolicy" is "allowlist"; set "channels.discord.groupPolicy" to "open" or add a server entry under "channels.discord.guilds".
351+
- requireMention: false but no reply: The default "groupPolicy" is "allowlist"; set "channels.discord.groupPolicy" to "open" or add a server entry under "channels.discord.guilds".
351352

352353
# 5. Model Configuration Modification
353354

0 commit comments

Comments
 (0)