mirror of
https://github.com/hazemKrimi/discord-bot.git
synced 2026-05-01 18:30:25 +00:00
a4d3960c8c6cf70f2a88d786c8308430ed724e3d
Bumps [tar](https://github.com/npm/node-tar) from 4.4.13 to 4.4.19. - [Release notes](https://github.com/npm/node-tar/releases) - [Changelog](https://github.com/npm/node-tar/blob/main/CHANGELOG.md) - [Commits](https://github.com/npm/node-tar/compare/v4.4.13...v4.4.19) --- updated-dependencies: - dependency-name: tar dependency-type: indirect ... Signed-off-by: dependabot[bot] <support@github.com>
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%


