summaryrefslogtreecommitdiff
path: root/deps/discord-haskell/docs/creating-bot.md
blob: 93f47ceec751820a5e671fcf263347891f4c334c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
1. Create an application at the Developer Portal https://discordapp.com/developers/applications

2. Add a 'Bot User' using the settings pane on the left. Take note of `CLIENT ID` on this page.

3. Use the BOT PERMISSIONS tab to compute a Permissions Int

4. Invite the bot to a server filling in the `<information>` below.

Client ID and Permissions come from previous steps.

`https://discordapp.com/oauth2/authorize?client_id=<CLIENT_ID>&scope=bot&permissions=<PERMISSIONS>`

5. You are ready to run the examples