A Discord bot that forwards one user's voice to multiple channels simultaneously.
- Monitor one user and broadcast their audio
- Auto start/stop with user presence
- 24/7 with auto-reconnect
- Jitter buffering for smooth audio
- Health monitoring
git clone https://github.com/TTom03/Discord-Audio-Mirroring-python.git
cd Discord-Audio-Mirroring-python
pip install -r requirements.txtBOT_TOKEN=your_bot_token
SOURCE_USER_ID=user_to_monitor
SOURCE_GUILD_ID=source_server
SOURCE_CHANNEL_ID=source_channel
TARGET_1_GUILD_ID=target_server_1
TARGET_1_CHANNEL_ID=target_channel_1
TARGET_2_GUILD_ID=target_server_2
TARGET_2_CHANNEL_ID=target_channel_2
TARGET_3_GUILD_ID=target_server_3
TARGET_3_CHANNEL_ID=target_channel_3Development:
python bot.pyProduction (PM2):
npm install -g pm2
pm2 start ecosystem.config.js
pm2 logs voice-bridge
pm2 saveCaptures audio from one user → Forwards to multiple channels → Plays in real-time.
| Issue | Solution |
|---|---|
| Bot won't start | Check .env has all required variables |
| No audio | Verify bot has Connect + Speak permissions |
| High CPU/Memory | Run pm2 logs voice-bridge to check |
bot.py- Main botaudio_bridge.py- Audio routingconfig.py- Load settingsecosystem.config.js- PM2 config
- Python 3.13+
- py-cord ≥2.7.0
- PyNaCl, python-dotenv, audioop-lts
- libopus (system library)
See PRODUCTION.md for advanced options.