This Discord bot streams a radio station, provides now-playing information, and allows users to connect, disconnect, and move the bot between voice channels. It fetches song metadata and displays it in an embedded message.
- Connect to a voice channel and stream a radio station:
$connect
- Disconnect the bot from the voice channel:
$disconnect
- Move the bot between voice channels:
$move
- Check bot latency:
$ping
- Now Playing: Display the currently playing song, album, and artist.
You need to have Python 3.12 installed (recommended via Microsoft Store), along with the following libraries:
discord.py==2.4.0
PyNaCl==1.5.0
yt-dlp==2024.10.22
These libraries are listed in the requirements.txt
file for easy installation.
- Go to the Discord Developer Portal and create a new application.
- Under the application, create a bot and enable
MESSAGE CONTENT INTENT
. - Copy the bot token and replace
YOUR-BOT-TOKEN
inRadio.pyw
. - Install the required dependencies (CMD):
pip install -r requirements.txt
- Run the bot (CMD):
python Radio.pyw
This bot streams only one radio station: 107.7 Pulse FM (CISF FM).
Currently, it only supports a single server, but multi-server functionality may be added in the future.
If you encounter any bugs, feel free to reach out, and I'll work to resolve them.
Project Link: Discord Radio Bot
- Email: yeshwanthngs1r@gmail.com
- Twitter (X): Yeshwanth N (@Yeshwanth_3085)
- LinkedIn: Yeshwanth N
- Discord Server: MARAUDER YESH
- Discord Profile: Yeshwanth N (marauder_yesh) — (Originally known as Yeshwanth N#4663)
- GitHub: Yeshwanth N (Yeshwanth-3085)
This project is open-source and free to use. No copyright restrictions.