This is a JavaScript Discord Music Bot, easy to use and to copy, thanks to a short code.
Go setup your bot at https://discord.com/developers/applications! (If you don't understand how to create a bot: search on YouTube!)
git clone https://github.com/luisoos/24-7-Discord-Music-Bot
cd 24-7-Discord-Music-Bot
npm install
Copy paste all files from the 'src'-folder.
I recommend using https://repl.it to run your bot.
Change the strings in the config.json
file:
TOKEN
: Your Discord-Bot Token (NEVER PUBLISH!)CHANNEL
: Your Voice-channel IDSERVER
: Your Discord-Server IDSTATUS
: Your Bot Status (In Discord: Playing...)LIVE
: YouTube 24/7 Livestream URL
Type node index.js
to start the bot.