Skip to content

An issue tracker for CC-Radio, a Discord Music Bot for Cluster Community

License

Notifications You must be signed in to change notification settings

Tapawingo/cc-radio

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 

Repository files navigation

CC-Radio

CC-Radio is a Discord Music Bot built with TypeScript and discord.js for Cluster Community.

Requirements

  1. Discord Bot Token (Guide)
    1.1. Enable "Message Content Intent" in Discord Developer Portal
  2. Node.js =<16.11.0

Getting Started

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.

Configuration

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": ""
        }
    }

Commands

  • .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

Contributing

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.

Contribution guidelines

To contribute something to CC-Radio, simply fork this repository and submit your pull request for review by other collaborators.

Submiting issues and requesting features

Please use our Issue Tracker to report a bug, propose a feature, or suggest changes to existing ones.

License

CC-Radio is licensed under the GNU General Public License (GLPv3).

About

An issue tracker for CC-Radio, a Discord Music Bot for Cluster Community

Resources

License

Stars

Watchers

Forks

Packages

No packages published