A bot that constantly streams ClassicFM, a British classical music radio station, into a Discord voice channel of the user's choosing.
Find a file
2024-05-12 12:44:39 -04:00
src whoops v2 2024-05-12 12:34:28 -04:00
.DS_Store removed node_modules folder and updated package requirements 2024-05-12 12:08:13 -04:00
LICENSE Initial commit 2024-05-09 14:23:14 -04:00
package.json whoops 2024-05-12 12:33:15 -04:00
README.md Update README.md 2024-05-12 12:44:39 -04:00

ClassicFM Discord Bot

Classic_FM_logo svg

A bot that constantly streams ClassicFM, a British classical music radio station, into a Discord voice channel of the user's choosing.

This bot uses an m3u8 stream as its source and joins a channel of the user's choosing until it is forcefully disconnected. This can be helpful if you want to just make a voice channel for peacefully listening to classical music, and it can be used with any mp3 or m3u8 stream.

Like any other bot, this requires that you make an application (bot) in the Discord Developer Portal.

This mini project quite literally would not have been possible without @ChrisChrome, who basically made the whole fucking thing work and showed me the limitations of both Discord bots and JavaScript as a whole.

How To Use

First, clone this GitHub repository, open it, and install dependencies.

git clone https://github.com/szeremeta1/classicfm-discord-bot.git
cd classicfm-discord-bot
npm i

Next, add your bot token you obtained from the Discord Developer Portal.

cd src
sudo nano config.json

Finally, cd back into classicfm-discord-bot and start the bot.

cd
cd classicfm-discord-bot
node start ./src/bot.js

For process management, I highly recommend pm2 to ensure the bot is online 24/7.