deepgram-discord-voice
FreeNo executable scriptsNot checkedVoice-channel conversations in Discord using Deepgram streaming STT + low-latency TTS
by lxyeternal★ 68 GitHub starsAbout this skill
Deepgram Discord Voice (Clawdbot/OpenClaw Plugin)
This plugin lets you talk to your agent only from a Discord voice channel.
Pipeline (low latency):
- Discord voice audio → Deepgram streaming STT (WebSocket)
- Transcript → your agent
- Agent reply → Deepgram TTS (
/v1/speakstreamed HTTP Ogg/Opus) - Audio played back into the voice channel
Requirements
- A Discord bot token (
DISCORD_TOKEN) - A Deepgram API key (
DEEPGRAM_API_KEY) - Discord bot permissions in your server:
- Connect
- Speak
- Use Voice Activity
Install
Option A: Install from ClawHub
- In your OpenClaw/Clawdbot dashboard, open Skills/Plugins.
- Add/install deepgram-discord-voice.
- Set the required environment variables.
Option B: Manual install
- Copy this folder into your extensions/plugins directory.
- Run:
npm install
- Restart OpenClaw/Clawdbot.
Configuration
Key settings
primaryUser(recommended): Who the bot listens to by default.- Best: your Discord user ID (numeric)
- Also supported: username/display name (e.g.,
atechy) if unique in-channel
allowVoiceSwitch: Iftrue, the primary user can switch who is allowed by voice.wakeWord: Prefix for voice control commands. Default:openclaw.deepgram.sttModel: Defaultnova-2.deepgram.language: Optional BCP‑47 language tag (e.g.,en-US,es,es-EC).ttsVoice: Deepgram Aura voice model (e.g.,aura-2-thalia-en).
Example config
{
"plugins": {
"entries": {
"deepgram-discord-voice": {
"enabled": true,
"config": {
"streamingSTT": true,
"streamingTTS": true,
"primaryUser": "atechy",
"allowVoiceSwitch": true,
"wakeWord": "openclaw",
"ttsVoice": "aura-2-thalia-en",
"vadSensitivity": "medium",
"bargeIn": true,
"deepgram": {
"sttModel": "nova-2",
"language": "en-US"
}
}
}
}
}
}
Usage
Join a voice channel
Use the plugin tool or slash command (depends on your OpenClaw setup):
- Join:
action=joinwith thechannelId - Leave:
action=leave
Talk (voice channel)
Once the bot is connected, just speak.
Safeguard: only listen to you (default)
When primaryUser is set, the plugin will only listen to that user unless you allow someone else.
Let someone else talk (voice commands)
As the primary user, say:
openclaw allow <name>openclaw listen to <name>
To lock it back:
openclaw only meopenclaw reset
Switch via tool actions (optional)
allow_speakerwithuser(id / @mention / name)only_mestatus
Notes
- Lowest latency comes from
streamingSTT=trueandstreamingTTS=true. - Deepgram TTS is streamed over HTTP in Ogg/Opus so Discord can play it immediately.
Install deepgram-discord-voice in Claude Code & Claude Desktop
Sign up to install this skill
Create a free account to reveal the install command and save the skill to your library.
- Reveal the one-line install command
- Save skills to your synced library
- Get notified when skills update
Allowed tools
Tools this skill is permitted to call.
No restriction — this skill can use any tool.
Bundled files
FAQ
What does the deepgram-discord-voice skill do?
Voice-channel conversations in Discord using Deepgram streaming STT + low-latency TTS
How do I install the deepgram-discord-voice skill?
Copy the skill folder into ~/.claude/skills (the Claude Code tab above does this in one command), or install it as a plugin.
Does the deepgram-discord-voice skill run scripts?
No, this skill is instructions only (SKILL.md) with no executable scripts.
Related skills
theme-factory
Toolkit for styling artifacts with a theme. These artifacts can be slides, docs, reportings, HTML landing pages, etc. There are 10 pre-set themes with…
by Anthropicaccess
Manage Discord channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
by Anthropicconfigure
Set up the Discord channel — save the bot token and review access policy. Use when the user pastes a Discord bot token, asks to configure Discord, asks "how…
by Anthropicaccess
Manage iMessage channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
by Anthropic