- Create a Github account and Fork Discom. (Button in the top right)
- Create a Heroku account and Create a New App. (Button in the top right)
- Go to your Heroku app Settings tab, click Add Buildpack and select NodeJS.
-
In the Settings tab, click Reveal Config Vars and enter the information for the features you'll want to use from here.
4a. KEY is the name, VALUE is the ID or other required input.
4b. TOKEN is required, everything else is optional. (Token is not Client Secret in the Discord Bot Website, it is near the bottom)
4c. To get a Channel ID, you must right click on a Text Channel and select Copy ID. (Need to enable Developer Mode in User Settings -> Appearance)
4d. To get a Role ID, you must right click on a Role when you @mention it and select Copy ID. (Need to allow anyone to @mention the role in the Role's settings and enable Developer Mode in User Settings -> Appearance)
-
You need to invite your bot to your server, to do so you must go to the Discord Bot Website and copypaste the Client ID at the top into this URL: https://discordapp.com/oauth2/authorize?client_id=CLIENT_ID_HERE&scope=bot&permissions=268528640
5a. You must enable 2 Factor Authentification to use the Streaming Role or Twitter features.
5b. If you do not need to use the Streaming Role or Twitter features, then use this URL: https://discordapp.com/oauth2/authorize?client_id=CLIENT_ID_HERE&scope=bot&permissions=84992
5c. You must have Manage Server permission on the server you're inviting the bot to, or have someone who has the permission invite it.
-
In the Deploy tab, click on Github to connect your Github account, then search for Discom and click Connect.
- Click on Deploy Branch.