Music Bot built with discord.js-musicbot-addon for people to use on their servers as a private bot, or people who wants to get into bot creating.
Music Bot built with discord.js-musicbot-addon for people to use on their servers as a private bot, or people who wants to get into bot creating. Here's some examples from the addon repo
skip [number]
First of make sure you have Node.js installed on your machine.
Then edit config file located in /src/config.json
{
"credentials": "BOT TOKEN https://discordapp.com/developers/applications/",
"prefix": "BOT PREFIX",
"api": "YOUTUBE API KEY https://console.developers.google.com/",
"ownerid": "YOUR USER ID",
"colour": "HEX COLOUR, NO #",
"musicrole": "ROLE WHICH ANYONE CAN USE EVERY MUSIC COMMAND",
"admins": ["ADMIN ID'S CAN BE SEPARATED BY", "COMMAS"],
"defaultvolume": "DEFAULT PLAYBACK VOLUME"
}
After than run the following in this order:
install.bat - will install all the dependencies for you.
start.bat - make sure you run this after installing dependencies & edited the config.json, this will start the bot.
If for some reason you're having trouble installing dependencies, do the following below in terminal in the bot directory.
npm i discord.js
npm i node-opus
npm i discord.js-musicbot-addon
npm i ffmpeg-binaries