Discord 配置
- 在 Discord 开发者门户 创建应用 → Bot
- 开启 Message Content Intent(必需)和 Server Members Intent
- 生成邀请链接,选择
bot+applications.commands权限 - 配置:
{ channels: { discord: { enabled: true, token: "你的_BOT_TOKEN", dmPolicy: "pairing" } } }- 启动并配对:
openclaw gateway restartopenclaw pairing approve discord <配对码>{ channels: { discord: { groups: { "服务器ID": { requireMention: true, channels: ["频道ID"] } } } } }→ 渠道总览 →