openclaw - 💡(How to fix) Fix [Discord] Duplicate messages sent to Discord DM (同一消息出现两次) [1 participants]

Official PRs (…)
ON THIS PAGE

GitHub issue graph ai analysis

Paste a GitHub issue URL. We fetch that issue, discover linked issues from bodies/comments/timeline, collect linked pull requests, and produce a structured English report.

The report is written in English Markdown for sharing and archival.

Helpful · Quick feedback

Loading…
GitHub stats
openclaw/openclaw#72427Fetched 2026-04-27 05:30:15
View on GitHub
Comments
0
Participants
1
Timeline
1
Reactions
0
Author
Participants
Timeline (top)
closed ×1
RAW_BUFFERClick to expand / collapse

Bug Description

Discord DM 频道,bot 发送的消息在 Discord 中重复出现(同一消息出现两次)。

环境:

  • OpenClaw: 2026.4.24
  • macOS: 26.4.1
  • Node: 25.8.1
  • Channel: discord (direct DM)

复现步骤:

  1. 在 Discord DM 中发送任意消息给 bot
  2. Bot 回复正常,但同一条回复在 Discord 中出现两次

尝试过的修复:

  1. 清除 plugin-runtime-deps 缓存:rm -rf /Users/jeyo/.openclaw/plugin-runtime-deps
  2. 重启 gateway:openclaw gateway restart
  3. 确认 streaming mode 为 off(配置文件中 streaming.mode = "off")

相关日志: gateway.err.log 中存在多次 plugin ENOTEMPTY 错误和 discord 插件注册失败的记录。

截图: (见附件)

是否有人遇到同样问题?

extent analysis

TL;DR

The issue of duplicate messages in Discord DM channels may be related to plugin registration failures and ENOTEMPTY errors, suggesting a potential issue with the Discord plugin or its interaction with the OpenClaw gateway.

Guidance

  • Investigate the gateway.err.log for specific details on the plugin ENOTEMPTY errors and Discord plugin registration failures to understand the root cause.
  • Verify that the Discord plugin is correctly configured and enabled in the OpenClaw settings.
  • Consider temporarily disabling and re-enabling the Discord plugin or checking for any plugin updates that might resolve the registration issues.
  • Review the OpenClaw documentation for any known issues or configuration recommendations related to the Discord plugin and streaming mode.

Example

No specific code snippet can be provided without more details on the plugin or OpenClaw configuration, but checking the plugin's configuration file for any misconfigurations or version mismatches might be a good starting point.

Notes

The provided information suggests a potential issue with the Discord plugin or its interaction with the OpenClaw gateway, but without more specific details on the plugin version, configuration, or the exact nature of the ENOTEMPTY errors, it's challenging to provide a definitive fix.

Recommendation

Apply workaround: Given the potential for plugin-related issues, attempting to disable and re-enable the Discord plugin or checking for plugin updates might mitigate the problem temporarily until a more permanent fix can be identified.

Vote matrix · Quick signals

Works
Did the solution work? Tap to confirm.
Easy Fix
Was it a quick fix?
Time Saver
Did it save you time?
Blocking
Was it severely blocking?
Common Issue
Are others likely hitting this too?
Flaky / Intermittent
Is it intermittent?
Verified / Reproducible
Can you reproduce it reliably?
Loading…

Still need to ship something?

×6

Another batch ranked right after the header list — different links, same matching logic.

Back to top recommendations

TRENDING

openclaw - 💡(How to fix) Fix [Discord] Duplicate messages sent to Discord DM (同一消息出现两次) [1 participants]