mirror of
https://github.com/hazemKrimi/discord-bot.git
synced 2026-05-01 18:30:25 +00:00
30016f5a33f8b19340d1cf6aa0fb398b810c377b
Bumps [glob-parent](https://github.com/gulpjs/glob-parent) from 5.1.1 to 5.1.2. - [Release notes](https://github.com/gulpjs/glob-parent/releases) - [Changelog](https://github.com/gulpjs/glob-parent/blob/main/CHANGELOG.md) - [Commits](https://github.com/gulpjs/glob-parent/compare/v5.1.1...v5.1.2) --- updated-dependencies: - dependency-name: glob-parent 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%


