Connect Discord
Each agent can have its own Discord bot. Only you (the owner) can talk to it, in direct messages (DMs). You can use Discord, Telegram, or both.
Create the bot
- Go to the Discord Developer Portal and create an application with a bot.
- Copy the bot token.
- In Discord, turn on Developer Mode (User Settings → Advanced), then right-click your name and copy your user ID.
Connect it to your agent
- In the panel, open your agent and go to Channels.
- Under Discord connection, enter your user ID and the bot token.
- Choose Connect Discord. Nimbot checks the token before saving it.
- Send the bot a direct message. This first message links your DM.
Discord won't let the bot message you?
Discord may block DMs if you blocked the bot, turned off direct messages, or don't share a server with it. Invite the bot to one of your servers if needed.
Send a test message
Choose Send Discord test to receive a fixed test message. If you're not sure it arrived, check your DMs, or choose Check last test status instead of sending another one. You can send up to five tests per minute.
Chat with the agent
Send a text message in the DM to give the agent a task. Progress, approvals, and answers come back to the same DM. Send /stop to cancel the running task.
Send and receive files
- Send one file per message, up to 10 MiB.
- Text in the same message runs a task using the file. A file sent alone is just saved, without using AI credits; reply to it later to use it.
- Keep the original message until Nimbot saves the file. If the import fails, send the file again.
- To receive a file, ask the agent. After the task finishes, it can send back one file of up to 10 MiB.
Change or remove the connection
- To change the token or owner, enter both fields again and save.
- Removing the Discord connection keeps the agent and its Telegram connection. Delete the bot in the Developer Portal if you no longer need it.
- Remove the Discord connection before deleting its agent.
Problems? See Troubleshooting.