#Help requested: discord bot offline and no messages sending

13 messages · Page 1 of 1 (latest)

frank shuttle
#

I setup a discord application and bot using the instructions at https://www.home-assistant.io/integrations/discord/ and it all seemed to work (except I couldn't uncheck "Public Bot" as I kept getting a "Private application cannot have a default authorization link" error) and then authorized the bot to my private server.
The bot is showing as Offline though, and when I try to test it by going to Settings, Developer Tools, Actions it gives the green check mark but I don't actually receive any messages.
Any pointers on where to check to start debugging this?

Home Assistant

Instructions on how to add Discord notifications to Home Assistant.

frank shuttle
#

Help requested: discord bot offline and no messages sending

dire epoch
#

Have you taken a look at your home-assistant.log file? Anything related show up there?

frank shuttle
#

thanks for the response - let me check that now

#

WARNING (MainThread) [homeassistant.components.discord.notify] Channel not found for ID: xxx

#

thats the right channel ID when I right-click on it in Discord and select "Copy Channel ID"

#

maybe be a permission issue preventing the bot from finding that channel?

#

ahhh! I needed quotes around the channel ID! even in the GUI!

#

sorry for the n00b question, didnt realize it would be something so simple

#

I guess it does say it needs a string, but I assumed in the Developer Tools it would wrap/escape for you

dire epoch
#

All good, the logs are usually a good first place to check... if that doesn't work there's always an option to turn on debug logging, which can help too

frank shuttle
#

thanks, I always assumed it was a discord issue rather than a HA issue, so didnt look at HA logs

wintry blaze
#

Where do you set the channelID etc?