diff --git a/source/_integrations/discord.markdown b/source/_integrations/discord.markdown index c2f560582c7..b3f3fbbb0a1 100644 --- a/source/_integrations/discord.markdown +++ b/source/_integrations/discord.markdown @@ -16,31 +16,34 @@ ha_integration_type: integration The [Discord service](https://discordapp.com/) is a platform for the notify component. This allows integrations to send messages to the user using Discord. -In order to get a token you need to go to the [Discord My Apps page](https://discordapp.com/developers/applications/me) and create a new application. Once the application is ready, create a [bot](https://discordapp.com/developers/docs/topics/oauth2#bots) user (**Create a Bot User**). +## Prerequisites -Retrieve the **Client ID** from the information section and the (hidden) **Token** of your bot for later. +### Creating a Discord Application + +In order to create a bot user a Discord Application is required. Go to the [Discord My Apps page](https://discordapp.com/developers/applications/me) and create a new application. When setting up the application you can use this [icon](/images/favicon-192x192-full.png). -{% include integrations/config_flow.md %} +Once the application is ready, create a [bot](https://discordapp.com/developers/docs/topics/oauth2#bots) user (**Create a Bot User**). + +Retrieve the **Application ID** from the 'General Information' section and the (hidden) **Token** of your bot for later.
@@ -56,7 +59,13 @@ Once the bot has been added to your server, get the channel ID of the channel yo
Right click channel name and copy the channel ID (**Copy ID**).
-This channel or user ID has to be used as the target when calling the notification service. Multiple channel or user IDs can be specified, across multiple servers or direct messages.
+This channel or a user ID has to be used as the target when calling the notification service. Multiple channel or user IDs can be specified, across multiple servers or direct messages.
+
+## Add Discord integration to Home Assistant
+
+{% include integrations/config_flow.md %}
+
+When adding the Discord integration you will be asked for an API Key. Enter the hidden **Token** of your bot to link your Discord integration to the bot you created and allow Home Assistant to send messages as that bot.
## Discord Service Data