Skip to content

Discord VC regression: missing @snazzah/davey causes /vc join crash #23032

@cash-echo-bot

Description

@cash-echo-bot

Summary

Discord voice can crash on /vc join with:

Error: Cannot utilize the DAVE protocol as the @snazzah/davey package has not been installed.
Use the generateDependencyReport() function for more information.

This appears to be a regression where @snazzah/davey was added for Discord VC support, then later removed by dependency cleanup.

Regression details

  • Discord VC feature landed in: 4ab946eeb ("Discord VC: voice channels, transcription, and TTS")
    • This commit adds @snazzah/davey to root dependencies.
  • Later removed in: d3bb92470 ("chore(deadcode): add deadcode scanning and remove unused lockfile deps")
    • This commit removes @snazzah/davey from root dependencies.

So current builds can include VC code paths that require DAVE, but miss the DAVE dependency at runtime.

Environment

  • OpenClaw: 2026.2.21
  • Channel: Discord (/vc join path)
  • Node: v25.x
  • @discordjs/voice: 0.19.0

Repro steps

  1. Install/start OpenClaw on a revision that includes Discord VC support.
  2. Configure channels.discord.voice.enabled: true.
  3. Run /vc join in Discord.
  4. Observe gateway crash / uncaught exception above.

Actual behavior

Gateway throws uncaught exception and VC join fails due to missing @snazzah/davey.

Expected behavior

Discord VC join should not crash due to missing dependencies.

Workaround

Manually install dependency in workspace root:

pnpm add -w @snazzah/davey

After this, generateDependencyReport() shows DAVE library present.

Related

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