mirror of
https://github.com/hazemKrimi/discord-bot.git
synced 2026-05-01 18:30:25 +00:00
fad455f36a20a155cbe6318c18f8c593a5401bb9
Bump tar from 4.4.13 to 4.4.19
Discord Bot
A bot that plays audio tracks from facebook, youtube and podcast websites
Development
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
Deployment to Heroku
-
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
Languages
JavaScript
100%


