Skip to content

A discord bot that plays audio tracks from facebook, youtube and podcast websites

License

Notifications You must be signed in to change notification settings

Tjeri/discord-bot

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

66 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

  1. Create an app in Discord Developers Portal

  2. Fork this repository

  3. Create an app on Heroku

  4. Connect the app with your forked repository



  5. Add these buildpacks: Ffmpeg buildpack and Puppeteer buildpack



  6. Configure the environment variables (YouTube API, Bot Token, Owner Id)



    1. Owner Id is your Discord account id (get it here)
    2. Bot Token is the token of the bot in your discord application
    3. 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
  7. Deploy

  8. Get the bot invite link with its permissions

    1. Get the bot permissions



    2. Get the invite link to your server



Check this video for a detailed guide

About

A discord bot that plays audio tracks from facebook, youtube and podcast websites

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 100.0%