diff --git a/source/_integrations/discord.markdown b/source/_integrations/discord.markdown index 5568fd51d6c..75cf7929861 100644 --- a/source/_integrations/discord.markdown +++ b/source/_integrations/discord.markdown @@ -35,27 +35,25 @@ The name you give your application on the [Discord My Apps page](https://discord ### Setting up the bot -Bots can send messages to servers and users or attach locally available images. To add the bot to a server you are an admin on use the **Application ID** you noted above, found on the [Discord My Apps page](https://discordapp.com/developers/applications/me). +Bots can send messages to servers and users or attach locally available images. To add the bot to a server you are an admin on, use the **Application ID** you noted above, found on the [Discord My Apps page](https://discordapp.com/developers/applications/me). -

- -

+![Screenshot of Discord bot config](/images/screenshots/discord-bot.png) -Now use the Discord Authorization page with the **Application ID** of your [application](https://discordapp.com/developers/docs/topics/oauth2#bots). +Next, decide what permissions your bot will have within your server. Under the 'Bot' section, select the permissions you want to grant and copy the permissions integer from the bottom field. -`https://discordapp.com/api/oauth2/authorize?client_id=[APPLICATION_ID]&scope=bot&permissions=0` +![Screenshot of Discord bot permissions](/images/screenshots/discord-bot-permissions.png) -

- -

+Now use the Discord Authorization page with the **Application ID** of your [application](https://discordapp.com/developers/docs/topics/oauth2#bots) and the **Permissions Integer**. + +`https://discordapp.com/api/oauth2/authorize?client_id=[APPLICATION_ID]&scope=bot&permissions=[PERMISSIONS_INTEGER]` + +![Screenshot of Discord bot auth](/images/screenshots/discord-auth.png) Wait for the confirmation which should say "Authorized". Once the bot has been added to your server, get the channel ID of the channel you want the bot to operate in. In The Discord application go to **Settings** > **Advanced** > **Enable Developer Mode**. -

- -

+![Screenshot of Discord bot create prompt](/images/screenshots/discord-api.png) Right click channel name and copy the channel ID (**Copy ID**). diff --git a/source/images/screenshots/discord-bot-permissions.png b/source/images/screenshots/discord-bot-permissions.png new file mode 100644 index 00000000000..6676ff52d18 Binary files /dev/null and b/source/images/screenshots/discord-bot-permissions.png differ