ASAR is a cutting-edge Discord radio bot powered by OpenAI's GPT-4o, bringing AI-driven radio broadcasting to your Discord server. It combines news updates, music, and AI-generated commentary for a unique radio experience.
- ๐ต 24/7 Radio Broadcasting
- ๐ค GPT-4 Powered DJ Commentary
- ๐ฐ Real-time News Integration
- ๐๏ธ Premium Voice Support (via ElevenLabs)
- ๐ Multi-language Support
- ๐ถ YouTube Playlist Integration
- โก Auto-join Radio Channels
- ๐ข Skip Command Support
- Node.js (v16 or higher)
- npm (Node Package Manager)
- C++ Framework
- Discord Bot Token
- OpenAI API Key
- NewsAPI Key
- ElevenLabs API Key (Optional, for premium voice)
-
Clone the repository
-
Install dependencies:
npm install
- Set up environment variables:
cp .env-sample .env
- Edit the
.env
file with your API keys and configuration.
Configure your radio station by editing the following in your .env
file:
OPENAI_API_KEY
: Your OpenAI API keynewsapikey
: Your NewsAPI keydiscordtoken
: Your Discord bot tokenlanguage
: Preferred language for announcementsytplaylist
: YouTube playlist ID for musicdataradio
: Radio station informationELEVEN_LABS_API_KEY
: (Optional) For premium voice quality
- Start the bot:
node index.js
- The bot will automatically:
- Join voice channels named "radio"
- Play music from your configured playlist
- Announce news with AI-generated commentary
- Switch between songs and announcements
skip
: Skip the current song/announcement
ASAR supports two voice modes:
- Basic TTS (Default)
- Premium ElevenLabs voice (requires API key)
Contributions are welcome! Please feel free to submit a Pull Request.
This project is licensed under the MIT License - see the LICENSE file for details.
If you encounter any issues or have questions, please open an issue on GitHub.
Made with โค๏ธ by Neo