A bot that plays audio tracks from facebook, youtube and podcast websites
For development on Windows you need the following node modules installed globally:
- node-gyp
npm install -g node-gyp
- node-pre-gyp
npm install -g node-pre-gyp
- patch-package
npm install -g patch-package
- windows-build-tools
npm install --global --production --vs2015 --add-python-to-path windows-build-tools
-
Create an app in Discord Developers Portal
-
Fork this repository
-
Create an app on Heroku
-
Add these buildpacks: Ffmpeg buildpack and Puppeteer buildpack
-
Configure the environment variables (YouTube API, Bot Token, Owner Id)
- Owner Id is your Discord account id (get it here)
- Bot Token is the token of the bot in your discord application
- YouTube API is the key that enables the bot to get YouTube videos, to get it create a project in Google Developers Console then generate the key
-
Deploy
-
Get the bot invite link with its permissions
Check this video for a detailed guide