Skip to content

Discord voice: bot joins then silently disconnects after 5-10s (no error logs) #23421

@rayzhux

Description

@rayzhux

Environment

  • OpenClaw: 2026.2.21-2
  • macOS arm64, Node v25.6.1
  • @discordjs/voice 0.19.0
  • @snazzah/davey 0.1.9
  • sodium-native 5.0.10
  • @discordjs/opus 0.10.0
  • ffmpeg 8.0.1 (libopus)

Config

channels.discord.voice: {
  enabled: true,
  autoJoin: [],
  tts: { provider: "openai", openai: { voice: "nova" } }
}
tools.media.audio: { enabled: true }

Bot has Administrator permissions (Connect, Speak, UseVAD, etc.).

Behavior

  1. User runs /vc join slash command
  2. Bot appears in the voice channel
  3. Bot does not speak or acknowledge
  4. After 5-10 seconds, bot silently disconnects
  5. Zero voice-related entries in logs (even at debug level)
  6. Only visible log: InteractionEventListener took ~17s for INTERACTION_CREATE

What I've tried

  • Installed @snazzah/davey (fixed initial DAVE crash)
  • Installed sodium-native (was missing from dependency report)
  • Added tools.media.audio config
  • Full process restart (not just SIGUSR1)
  • Verified all dependencies via generateDependencyReport()
  • Bot permissions confirmed via message tool

Related issues

Notes

The VoiceConnectionStatus.Disconnected handler has a 5s recovery window which matches the observed disconnect timing. Likely the DAVE handshake is failing silently, causing the connection to drop from Ready to Disconnected without logging.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions