
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. When adding the Discord integration you will be asked for an API Key.

If the above My button doesn’t work, you can also perform the following stepsįrom the configuration menu select: Devices & Services.įrom the list, search and select “Discord”.įollow the instruction on screen to complete the set up. Add Discord integration to Home Assistant ConfigurationĪdding Discord to your Home Assistant instance can be done via the user 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. Right click channel name and copy the channel ID ( Copy ID). In The Discord application go to Settings > Advanced > Enable Developer Mode. Once the bot has been added to your server, get the channel ID of the channel you want the bot to operate in. Wait for the confirmation which should say “Authorized”.

Now use the Discord Authorization page with the Application ID of your application. 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. Setting up the botīots can send messages to servers and users or attach locally available images. For example: if you enter “Discord Chat”, the service will be named notify.discord_chat. The name you give your application on the Discord My Apps page will determine the name of the notify service.
