- YouTube Video and Playlist support
- Extremely fast YouTube API handler
- Support for "hybrid" YouTube links; Links w/ both a video and playlist id
- Search support for YouTube Playlists and Videos
- Dynamic volume control
- User, Video, and Keyword blacklisting
- Song Skipping and Repeating
- "Radio stations" based off of playlists on YouTube
- Node.JS (Built on v8.2.0)
- FFPMEG (Must be in path)
- Discord.JS v11.1.0
sudo apt-get update
sudo apt-get install git make ffmpeg node-gyp build-essential g++
- Using
nvm
from https://github.com/creationix/nvm - Or download and install from https://nodejs.org/en/download/current/
- Any version above v7 should work fine, but the bot was programmed based on v8
git clone https://github.com/CF12/music-bot
cd music-bot
npm i
- Copy & rename the file for both
config_example.json
andblacklist_example.json
toconfig.json
andblacklist.json
respectively - Fill out the values in
config.json
accordingly to your bot application from https://discordapp.com/developers/applications/me - Create an API key for YouTube (https://developers.google.com/youtube/registering_an_application#Create_API_Keys) and use it in the
config.json
node src/bot.js
Please report any bugs or issues under the repo's issues tab. It'd be greatly appreciated!
This project uses the Standard JS Coding Style. Most of my Javascript projects are coded with the Standard JS Coding Style. You can learn more about the project here: https://standardjs.com/