CC-Radio is a Discord Music Bot built with TypeScript and discord.js for Cluster Community.
- Discord Bot Token (Guide)
1.1. Enable "Message Content Intent" in Discord Developer Portal - Node.js =<16.11.0
git clone https://github.com/Tapawingo/cc-radio.git
cd cc-radio
npm install
After installation configure the bot in bot.config.json
then run npm run start
to start the bot.
Copy or Rename bot.config.example.json
to bot.config.json
and fill out the values:
{
"auth": {
"app_id": "",
"public_key": "",
"bot_token": ""
}
}
If you want to enable playing region locked or age restricted youtube videos add your youtube cookie in handler settings:
"handlerSettings": {
"youtube": {
"cookie": ""
},
}
Additionally if you want to allow playing spotify links fill out the following:
"handlerSettings": {
"spotify": {
"client_id": "",
"client_secret": "",
"refresh_token": "",
"market": ""
}
}
.help (.h)
Displays a list of all available commands.play (.p)
Plays a given query.nowPlaying (.np)
Shows info on what's currently playing.queue (.q)
Displays current queue.skip (.s)
Skips current song.skipTo (.st)
Skips to given track in queue.purge (.pu)
Purges current queue.leave (.l)
Make bot leave Voice Channel
You can help out with the ongoing development by looking for potential bugs in the framework, or by contributing new features. I'm always welcoming new pull requests containing bug fixes, refactors and new features.
The bot has been built with modularity in mind and you can easily add new source handlers and commands.
To contribute something to CC-Radio, simply fork this repository and submit your pull request for review by other collaborators.
Please use our Issue Tracker to report a bug, propose a feature, or suggest changes to existing ones.
CC-Radio is licensed under the GNU General Public License (GLPv3).