Discord Voice Using Deepgram
/install discord-voice-deepgram
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 \x3Cname>openclaw listen to \x3Cname>
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.
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install discord-voice-deepgram - 安装完成后,直接呼叫该 Skill 的名称或使用
/discord-voice-deepgram触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
Discord Voice Using Deepgram 是什么?
Voice-channel conversations in Discord using Deepgram streaming STT + low-latency TTS. 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 1448 次。
如何安装 Discord Voice Using Deepgram?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install discord-voice-deepgram」即可一键安装,无需额外配置。
Discord Voice Using Deepgram 是免费的吗?
是的,Discord Voice Using Deepgram 完全免费(开源免费),可自由下载、安装和使用。
Discord Voice Using Deepgram 支持哪些平台?
Discord Voice Using Deepgram 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 Discord Voice Using Deepgram?
由 adriel1006(@adriel1006)开发并维护,当前版本 v1.0.0。