diff --git a/README.md b/README.md index c337e74..e0bde09 100644 --- a/README.md +++ b/README.md @@ -1,39 +1,2 @@ # 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](https://discord.com/developers/applications) -1. Fork this repository -1. Create an app on [Heroku](https://www.heroku.com) -1. Connect the app with your forked repository

![](/screenshots/heroku-connect-repo.png)

- -1. Add these buildpacks: [Ffmpeg buildpack](https://github.com/jonathanong/heroku-buildpack-ffmpeg-latest.git) and [Puppeteer buildpack](https://github.com/jontewks/puppeteer-heroku-buildpack.git)

![](/screenshots/heroku-add-buildpacks.png)

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

![](/screenshots/heroku-environment-variables.png)

- 1. Owner Id is your Discord account id (get it [here](https://support.discord.com/hc/en-us/articles/206346498-Where-can-I-find-my-User-Server-Message-ID-)) - 1. Bot Token is the token of the bot in your discord application - 1. YouTube API is the key that enables the bot to get YouTube videos, to get it create a project in [Google Developers Console](http://console.developers.google.com/) then generate the key -1. Deploy -1. Get the bot invite link with its permissions - 1. Get the bot permissions

![](/screenshots/discord-bot-permissions.png)

- 1. Get the invite link to your server

![](/screenshots/discord-bot-invite-link.png)

- -Check this [video](https://www.youtube.com/watch?v=f3wsxbMbi5M) for a detailed guide +A bot that plays audio tracks from facebook, youtube and podcast websites \ No newline at end of file diff --git a/screenshots/discord-bot-invite-link.png b/screenshots/discord-bot-invite-link.png deleted file mode 100644 index 095301a..0000000 Binary files a/screenshots/discord-bot-invite-link.png and /dev/null differ diff --git a/screenshots/discord-bot-permissions.png b/screenshots/discord-bot-permissions.png deleted file mode 100644 index 0adc017..0000000 Binary files a/screenshots/discord-bot-permissions.png and /dev/null differ diff --git a/screenshots/heroku-add-buildpacks.png b/screenshots/heroku-add-buildpacks.png deleted file mode 100644 index 6d666a3..0000000 Binary files a/screenshots/heroku-add-buildpacks.png and /dev/null differ diff --git a/screenshots/heroku-connect-repo.png b/screenshots/heroku-connect-repo.png deleted file mode 100644 index d551281..0000000 Binary files a/screenshots/heroku-connect-repo.png and /dev/null differ diff --git a/screenshots/heroku-environment-variables.png b/screenshots/heroku-environment-variables.png deleted file mode 100644 index be42979..0000000 Binary files a/screenshots/heroku-environment-variables.png and /dev/null differ