-
-
Notifications
You must be signed in to change notification settings - Fork 79.1k
Discord DMs: inbound messages silently dropped (outbound works) #48641
Copy link
Copy link
Open
Labels
P2Normal backlog priority with limited blast radius.Normal backlog priority with limited blast radius.clawsweeper:needs-live-reproClawSweeper needs live local, crabbox, or manual validation to confirm this issue.ClawSweeper needs live local, crabbox, or manual validation to confirm this issue.clawsweeper:needs-maintainer-reviewClawSweeper marked this issue as needing maintainer review before automation.ClawSweeper marked this issue as needing maintainer review before automation.clawsweeper:needs-product-decisionClawSweeper marked this issue as needing a product or behavior decision.ClawSweeper marked this issue as needing a product or behavior decision.clawsweeper:needs-security-reviewClawSweeper marked this issue as needing security-sensitive review.ClawSweeper marked this issue as needing security-sensitive review.clawsweeper:no-new-fix-prClawSweeper does not recommend queueing a new automated fix PR for this issue.ClawSweeper does not recommend queueing a new automated fix PR for this issue.impact:message-lossChannel message delivery can be lost, duplicated, or misrouted.Channel message delivery can be lost, duplicated, or misrouted.impact:securitySecurity boundary, credential, authz, sandbox, or sensitive-data risk.Security boundary, credential, authz, sandbox, or sensitive-data risk.issue-rating: 🐚 platinum hermitGood issue quality with a plausible reproduction path needing some confirmation.Good issue quality with a plausible reproduction path needing some confirmation.staleMarked as stale due to inactivityMarked as stale due to inactivity
Metadata
Metadata
Assignees
Labels
P2Normal backlog priority with limited blast radius.Normal backlog priority with limited blast radius.clawsweeper:needs-live-reproClawSweeper needs live local, crabbox, or manual validation to confirm this issue.ClawSweeper needs live local, crabbox, or manual validation to confirm this issue.clawsweeper:needs-maintainer-reviewClawSweeper marked this issue as needing maintainer review before automation.ClawSweeper marked this issue as needing maintainer review before automation.clawsweeper:needs-product-decisionClawSweeper marked this issue as needing a product or behavior decision.ClawSweeper marked this issue as needing a product or behavior decision.clawsweeper:needs-security-reviewClawSweeper marked this issue as needing security-sensitive review.ClawSweeper marked this issue as needing security-sensitive review.clawsweeper:no-new-fix-prClawSweeper does not recommend queueing a new automated fix PR for this issue.ClawSweeper does not recommend queueing a new automated fix PR for this issue.impact:message-lossChannel message delivery can be lost, duplicated, or misrouted.Channel message delivery can be lost, duplicated, or misrouted.impact:securitySecurity boundary, credential, authz, sandbox, or sensitive-data risk.Security boundary, credential, authz, sandbox, or sensitive-data risk.issue-rating: 🐚 platinum hermitGood issue quality with a plausible reproduction path needing some confirmation.Good issue quality with a plausible reproduction path needing some confirmation.staleMarked as stale due to inactivityMarked as stale due to inactivity
Type
Fields
Give feedbackNo fields configured for issues without a type.
Bug Description
Discord inbound DMs from an allowlisted user are silently dropped by the gateway. Outbound DMs (bot → user) work correctly. Guild channel messages work correctly.
Environment
Configuration
{ "channels": { "discord": { "dmPolicy": "allowlist", "allowFrom": ["339919070654758912"], "accounts": { "default": { "dmPolicy": "allowlist", "allowFrom": ["339919070654758912", "..."] } } } } }Steps to Reproduce
dmPolicy: "allowlist"and user ID inallowFromopenclaw channels statusshowsconnectedExpected Behavior
Actual Behavior
tail -f gateway.log | grep discordshows nothing when a DM is sentPOST /api/v10/users/@me/channels+POST /channels/{id}/messagessucceedsGET /users/@me)openclaw pairing list discordshows no pending requestsdiscord-allowFrom.jsonfile exists in~/.openclaw/credentials/Diagnostic Evidence
Intents
OpenClaw source requests
GatewayIntents.DirectMessages— confirmed inauth-profiles-DRjqKE3G.js. The bot showsintents:content=limited(expected for <100 servers).Why This Matters
Discord DMs are the preferred primary channel for many users because:
Without working DMs, users are forced to use guild channels (which lack privacy for personal assistant tasks) or fall back to Telegram (losing text selection). This significantly degrades the experience for Discord-primary users.
Workaround
Using Discord guild channels (#general, #aria) for interactive work + Telegram for private DM conversations. Functional but fragmented.