discord-music-bot
discord-music-bot copied to clipboard
Node.js / Discord.js / Discord.js-Commando based bot solely for the purpose of playing audio stream to Discord
discord-music-bot
NOT IN ACTIVE DEVELOPMENT AND MAY CONTAIN ISSUES & BUGS
Music bot for Discord voip app, contains only music playback code and no other unnecessary overhead code. Free to fork and/or contribute.
Clone master branch for the stable version.
Any bug reports or security concerns are very welcomed, please, open a ticket and I will address it shortly.
Local set up guide
- Install ffmpeg for your local machine, so it can be accessed by the bot
- Install Node (>=8.6) and NPM
- Clone repository and change your terminal working dir to it
- Run
cp configs/app.example.json configs/app.jsonand set access tokens inconfigs/app.jsonfile - Run
npm install(not necessary for docker set up) - Add bot to your discord guild by using link
https://discordapp.com/oauth2/authorize?client_id=<ClientID>&permissions=36728128&scope=bot, where<clientID>is your Discord Application client ID of the application whose token you've set inapp.jsonfile (be very cautious what kind of permissions you assign to your bot in case of security breach) - Run
npm run prod(not necessary for docker set up)
Docker set up guide
- Clone repository
- Run
cp configs/app.example.json configs/app.jsonand set access tokens inconfigs/app.jsonfile - Run
docker-compuse up --buildto build and run your container
Available commands
Refer to [prefix]help command for available commands. Prefix can be set in configs/app.json file, by default it is . (dot)
Dependencies
- discord.js-commando
- ffmpeg