A Discord bot that provides multiple AI personalities with different voices for natural group conversations. Uses Gladia for speech-to-text, GPT-5 nano for AI responses, and Murf AI for text-to-speech.
en-US-maverick
) - Calm, composed, and optimisticen-UK-ruby
) - Charming, energetic, and enthusiasticen-US-charles
) - Witty, analytical, and curiousnpm install
You’ll need API keys from:
Update the .env
file with your API keys:
# Discord Bot Configuration
DISCORD_TOKEN=your_discord_bot_token
CLIENT_ID=your_discord_application_id_here
# API Keys
GLADIA_API_KEY=your_gladia_api_key
OPENAI_API_KEY=your_openai_api_key
MURF_API_KEY=your_murf_api_key_here
Make sure your Discord bot has these permissions:
npm start
Discord Voice → Prism-Media → Gladia STT → OpenAI → Murf TTS → Discord Audio Player
index.js
- Main Discord bot logic and voice handlinggladia.js
- Speech-to-text integration with Gladia APIopenai.js
- AI response generation with OpenAImurf-streaming.js
- Text-to-speech integration with Murf AIYou can customize the TTS voice in murf.js
by changing the voiceId
parameter:
const voiceId = "en-US-ken"; // Change to your preferred voice