README.md (view raw)
1# disgord
2A simple Discord bot in Go.
3
4## Instructions
5Create your own application in the [Discord Developer Portal](https://discord.com/developers/applications).
6In the "Bot" tab, click on "Add Bot", then generate a new token.
7
8Now you can copy `config.example.json` into `config.json` and insert your Application ID and Discord Bot Token.
9
10Your can use the following link to add your bot to a server (replace `<applicationId>` first):
11```
12https://discord.com/api/oauth2/authorize?client_id=<applicationId>&permissions=17825792&scope=bot
13```
14
15## OAuth2 permissions
16If you want to change the bot permissions, you can visit [this page](https://discordapi.com/permissions.html#17825792) and generate a custom link.