Simple discord bot
- Navigate to Developers' Page for discord
- Create a new application
- Give it a name, image, description and all the works
- In the 'Bot' page of the Application, click on 'Add Bot'
- Give a name to you bot
- Copy the token and put it in the config file
Make sure to never make your secret tokens public
To generate the Bot invitation link:
- Navigate to Oath2 page of your Application
- Scroll down and select 'bot' in the 'SCOPES' section
- Add the required permissions needed for your bot. By default, none are selected. This bot needs:
- View Channels
- Send Messages
- Copy the updated link at the bottom of the 'SCOPES' section
- Make sure to give the link to a trusted parties only since it'll add the bot to whatever servers they choose to
You can choose not to supply a GitHub token, in which case it'll use unauthorized API calls. These are subject to a harsher rate-limit, but is usually sufficient for a low rate-of-use.
For the authorized access, create a Personal Access Token and add it to the config file.