Troubleshooting
What to do when your agent's Discord bot doesn't connect or doesn't answer (Discord).
connect discord asks for Message Content
The bot can't read what you send it without its Message Content intent. On the bot's page at Discord's developer portal, turn on Message Content Intent, then connect again.
You can't message the bot
The bot can be messaged only once it's in a server you're in. Add it to
your server with the link lnk agent connect discord printed, then
send it the code in a direct message.