Discord
Text your agent on Discord. Your agent is a bot in a server of yours, and it answers you and no one else.
Connect it
Make an application at Discord's developer portal and give lnk its
bot's token.
lnk agent connect discordTurn on the bot's Message Content intent, then paste its token. Add the
bot to a server of yours with the link lnk prints, and send it the code
in a direct message within 10 minutes.
To connect without prompts, as from a script:
LNK_DISCORD_TOKEN=... lnk agent connect discordDisconnect
lnk agent disconnect discorddisconnect forgets Discord's tokens and restarts your agent if it runs.
The bot stays yours, so delete it at Discord's
developer portal if you
no longer want it.
Troubleshooting
| Symptom | Fix |
|---|---|
connect discord asks for Message Content | Bot page: turn on Message Content Intent. |
| You can't message the Discord bot | Add it to your server with the printed link. |
