Back to projects
archived

OpenClaw-Discord-Voice

Talk to a local OpenClaw agent through a Discord voice channel.

Join a voice channel, speak one turn, and the bridge transcribes it locally with Whisper, hands it to your local OpenClaw session, and plays the reply back. The whole pipeline stays on your machine and in view.

Platform
Archived
Access
not accessible
Pipeline diagram for OpenClaw Discord Voice
Problem

Voice-controlling a local agent over Discord usually means a hosted bot you can't see into and don't fully control.

What I built

A self-hosted Discord.js bridge: Opus decode, ffmpeg to WAV, local whisper-cli transcription, one session per guild, and switchable Piper, macOS say, or ElevenLabs voices.

Highlights

  • Captures one spoken turn and transcribes it locally with whisper-cli, no cloud speech recognition.
  • Bridges straight into your local OpenClaw session, one per Discord guild.
  • Switchable replies: Piper, macOS say, or ElevenLabs.
  • Built-in doctor and /info checks for env, binaries, model path, and Discord auth.