-
-
Notifications
You must be signed in to change notification settings - Fork 68.6k
Discord voice messages are silently dropped #340
Copy link
Copy link
Closed
Description
Bug
Discord voice messages are silently dropped and never reach the agent.
Cause
Voice messages have empty content field — the audio is in the attachment. The text resolution code uses nullish coalescing (??):
const text =
message.content?.trim() ??
media?.placeholder ??
...Empty string ("") is falsy but not nullish, so it doesn't fall through to media?.placeholder.
Fix
Change ?? to || in src/discord/monitor.ts.
PR
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels
Type
Fields
Give feedbackNo fields configured for issues without a type.