The Internet Radio Discord Bot allows you to play your internet radio stations in your Discord voice channels. Enjoy endless music streaming and share your favorite radio station with your server members!
Add Twilight Jukebox to your discord server to check out this bot and how it works. https://discord.com/api/oauth2/authorize?client_id=1124004480560681081&permissions=3145728&scope=bot
- Play internet radio station in voice channels.
- Show the currently playing song.
- Stop playback and leave the voice channel.
- Python 3.6 or higher
- discord.py 2.x
-
Clone the repository:
git clone https://github.com/YourUsername/InternetRadioBot.git cd InternetRadioBot
-
Install dependencies:
pip install -r requirements.txt
-
Configuration:
- Go to config.json
- Replace
"YOUR_BOT_TOKEN"
with your bot's token. - Set
"YOUR_PREFIX"
to your desired command prefix. - set
"STREAMURL"
with your radio station url. - set
"BOTNAME"
with your radio station name. - set
"BOTDESCRIPTION"
with your radio station description for the about command. - set
"WEBSITE"
with your radio station website url.
-
Start the bot:
python bot.py
-
Invite the bot to your server using the OAuth2 URL with the
bot
scope and required permissions. -
Commands: all the commands are discord slash commands
/play
: Play the radio station./stop
: Stop playback and leave the voice channel./nowplaying
: Display the currently playing station./help
: Display the list of commands.
Contributions are welcome! Feel free to open issues or pull requests for improvements or fixes.
This project is licensed under the MIT License - see the LICENSE file for details.
Remember to replace placeholder URLs, images, and other information with your actual bot details.