Integrated Twitch & Discord bot with OBS support 🎮
- 🎬 Scene control via chat and voice
- 🔄 Automatic scene switching
- 📡 WebSocket connection with OBS
- 🤝 Automatic greetings
- 📎 Automatic clip creation
- 🎯 Customizable commands
- 🔗 Direct Discord integration
- 📢 Live stream notifications
- 🎥 Automatic clip sharing
- 👥 Live streaming roles
- 🗣️ Voice control via Deepgram
- 🎙️ Voice commands for stream control
- Node.js v16 or higher
- OBS Studio with WebSocket enabled
- Twitch bot account
- Discord bot account
- Deepgram API key
- Install packages:
npm install
- Configure
config.json
:
{
"OBS": {
"address": "ws://localhost:4455",
"password": "your-obs-password"
},
"twitch": {
"channel": "your-channel",
"command": "!scene"
},
"deepgram": {
"apiKey": "your-deepgram-key"
}
}
- Change scene: "hey bot switch scene to ..."
- Create clip: "hey bot create clip"
- Change title: "hey bot change title to ..."
!clip
- Create clip of current moment!rank
- Show Valorant rank!scene
- Change OBS scene!mouse
- Mouse information!sens
- Sensitivity settings
/alert
- Add channel to alerts/refresh
- Update commands
- 📁 Error logs in
logs/error.log
- 📁 Combined logs in
logs/combined.log
- 🎨 Colorized console logging
- 📊 Timestamped operations
Modify responses in src/twitch/config/auto-responses.js
:
module.exports = {
greetings: {
'hello': (username) => `@${username} Welcome!`,
},
homies: {
'username': 'custom-response'
}
};
Customize voice commands and add new ones in src/voice/commands/
:
- Modify command keywords
- Add new commands
- Customize voice responses
MIT