openclaw - 💡(How to fix) Fix [Bug]: Discord DM fails with "Unknown Channel" in 2026.4.21 (regression from 2026.4.14) [1 comments, 2 participants]

Official PRs (…)
ON THIS PAGE

Recommended Tools

×6

Utilities matched from this issue’s tags and category — try them while you read without losing context.

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#70745Fetched 2026-04-24 05:54:08
View on GitHub
Comments
1
Participants
2
Timeline
1
Reactions
0
Timeline (top)
commented ×1

Error Message

In OpenClaw 2026.4.21, sending a DM (direct message) to a Discord user fails with the error "Unknown Channel".

Fix Action

Fix / Workaround

Workaround Have the recipient send one message to the bot first. This creates the DM channel, after which the bot can send messages normally.

RAW_BUFFERClick to expand / collapse

Describe the bug In OpenClaw 2026.4.21, sending a DM (direct message) to a Discord user fails with the error "Unknown Channel".

Regression This worked correctly in version 2026.4.14.

To Reproduce

  1. Attempt to send a DM to a user who has not previously interacted with the bot in DMs.
  2. The DM fails with "Unknown Channel".

Workaround Have the recipient send one message to the bot first. This creates the DM channel, after which the bot can send messages normally.

Expected behavior The bot should be able to initiate a DM channel without requiring the user to message first, as it did in 2026.4.14.

Environment

  • Version: 2026.4.21
  • Last known working version: 2026.4.14
  • Platform: Discord

Additional context This appears to be a regression introduced in the 2026.4.21 update, possibly related to changes in Discord channel/DM initialization or gateway sidecar handling.

extent analysis

TL;DR

The issue can likely be worked around by having the recipient send a message to the bot first, creating the DM channel.

Guidance

  • Verify the regression by testing the same functionality in version 2026.4.14 to confirm it worked as expected.
  • Attempt to send a DM after the recipient has initiated a conversation with the bot to see if the issue is resolved.
  • Investigate changes in Discord channel/DM initialization or gateway sidecar handling in the 2026.4.21 update to identify the root cause.
  • Consider reaching out to the OpenClaw development team to report the regression and seek a permanent fix.

Example

No code snippet is provided as the issue does not specify any code-related details.

Notes

The provided workaround may not be suitable for all use cases, especially if the bot needs to initiate conversations with users who have not previously interacted with it.

Recommendation

Apply workaround: Have the recipient send a message to the bot first, as this is the only known way to create the DM channel and allow the bot to send messages normally, until a permanent fix is available.

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 [Bug]: Discord DM fails with "Unknown Channel" in 2026.4.21 (regression from 2026.4.14) [1 comments, 2 participants]