62 lines
1.3 KiB
Markdown
62 lines
1.3 KiB
Markdown
# GLaDOS Discord Voice Bot
|
|
|
|
Simple, reliable voice bot using GLaDOS's audio pipeline.
|
|
|
|
## What Changed
|
|
|
|
- **ASR**: Uses Wyoming Whisper (local or remote)
|
|
- **LLM**: Ollama with qwen3-coder-next:cloud
|
|
- **TTS**: Your HTTP endpoint at localhost:5050 with "glados" voice
|
|
|
|
## Setup
|
|
|
|
```bash
|
|
cd /home/admin/.openclaw/workspace/discord-voice-bot
|
|
|
|
# Ensure GLaDOS models are available
|
|
# Your TTS is already at localhost:5050 (glados voice)
|
|
|
|
python main.py
|
|
```
|
|
|
|
## How to Use
|
|
|
|
1. The bot auto-joins the configured voice channel on startup
|
|
2. When you talk, it transcribes with Whisper
|
|
3. Gets LLM response from Ollama (qwen3-coder-next:cloud)
|
|
4. Speaks back with your glados voice via HTTP TTS
|
|
|
|
## Commands
|
|
|
|
- `!join` - Join voice channel
|
|
- `!leave` - Leave voice channel
|
|
- `!test [text]` - Test TTS
|
|
|
|
## Configuration
|
|
|
|
```yaml
|
|
# config.yaml
|
|
discord:
|
|
token: "YOUR_TOKEN"
|
|
channel_id: 1468627455656067074 # #coding channel
|
|
|
|
whisper:
|
|
host: "192.168.0.17"
|
|
port: 10300
|
|
|
|
tts:
|
|
http_url: "http://localhost:5050"
|
|
voice: "glados"
|
|
|
|
ollama:
|
|
base_url: "http://192.168.0.17:11434"
|
|
model: "qwen3-coder-next:cloud"
|
|
```
|
|
|
|
## Why This Approach
|
|
|
|
- **No GLaDOS deps needed** - Uses existing services
|
|
- **Your glados voice** - via HTTP TTS endpoint
|
|
- **Simple** - Clean, working code
|
|
- **Reliable** - Stable Discord integration
|