-
-
Notifications
You must be signed in to change notification settings - Fork 52.6k
Closed
Closed
Copy link
Description
Bug Report
Environment
- OpenClaw version: 2026.2.21-2
- Node.js: v22.15.0
- OS: macOS 15.2 (arm64)
- @discordjs/voice: 0.19.0
- @snazzah/davey: 0.1.9
- @discordjs/opus: installed
- libsodium-wrappers: installed
Description
After enabling Discord Voice (channels.discord.voice.enabled: true) and using /vc join, the bot successfully joins the voice channel and can detect speaking events. However, the DAVESession (Discord Audio/Video Encryption) repeatedly crashes, causing audio receive to fail.
The bot briefly captured and responded to audio once, but subsequent attempts fail with the DAVE protocol error.
Error Logs
at new DAVESession (file:///.../@discordjs/voice/src/networking/DAVESession.ts:140:5)
at Networking.createDaveSession (file:///.../@discordjs/voice/src/networking/Networking.ts:377:15)
at Networking.onWsPacket (file:///.../@discordjs/voice/src/networking/Networking.ts:529:14)
at VoiceWebSocket.onMessage (file:///.../@discordjs/voice/src/networking/VoiceWebSocket.ts:164:2)
2026-02-22T00:42:01.728Z [discord] voice: receive error: The operation was aborted
The DAVESession error repeats multiple times in gateway.err.log.
Steps to Reproduce
- Enable voice:
channels.discord.voice.enabled: true - Add voice channel to guild allowlist
- Install required packages:
@snazzah/davey,libsodium-wrappers /vc joinin Discord → bot joins successfully- Speak in the voice channel → DAVESession crashes, audio receive aborted
Expected Behavior
Bot should receive audio, transcribe via Whisper, respond via TTS, and play back in the voice channel.
Actual Behavior
Bot joins the channel but DAVESession crashes repeatedly. Audio capture fails with "The operation was aborted". One brief successful capture was observed before the crashes started.
Additional Context
- The
@snazzah/daveypackage was manually installed (not bundled with openclaw) - Could be a version incompatibility between
@discordjs/voice0.19.0 and@snazzah/davey0.1.9 - Bot permissions: Connect + Speak + Use Voice Activity confirmed
- GuildVoiceStates intent is included by default in the code
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels