Integration · Team chat
AI agents for Discord bot
Send and reply to messages, read a channel's recent messages, list a server's channels and add reactions, as your own bot in the Discord servers it was added to.
- Actions
- 6
- Read
- 3
- Write
- 3
Actions
What your agents can do in Discord bot
6 actions. Each one is a tool your agents can call and a step your workflows can run.
Read 3
Look things up. Nothing changes.
Read recent messages in a channel
Reads a channel's most recent messages, newest first: ID, author, text, time and the message it replies to.
List a server's channels
Lists the channels of a Discord server (guild) by its ID: ID, name, type (0 text, 2 voice, 4 category, 5 announcement, 15 forum), topic and category.
List the bot's servers
Lists the Discord servers (guilds) the bot has been added to: ID, name and icon.
Write 3
Create, change or send.
Send a message
Sends a message as the bot to a text channel, thread or DM channel, by channel ID.
Reply to a message
Replies to one message in a channel, shown in Discord as a reply quoting it, by channel ID and message ID.
Add a reaction
Adds an emoji reaction as the bot to a message, by channel ID and message ID.
A person can approve first
Any write action can be set to wait for a person's approval before it runs, so an agent asks before it changes anything.
Connection
How it connects
Connect it once in the console, then give it to the agents and workflows that need it.
Paste an API key from your Discord bot account.
What you enter
- Bot token
Kept safe
- Credentials are stored encrypted with your organization's own keys.
- They are opened only by the process that makes the call, at the moment it runs, and never go into a prompt or the browser.
- Calls go only to the tool's own servers.
Ideas
Ideas to start with
Starting points made only from the actions above. Mix them with any other tool your agents can use.
- 01
Ask about your Discord bot data
Ask a question in plain words. The agent can read recent messages in a channel, list a server's channels or list the bot's servers in Discord bot, then answers with what it found.
- 02
Let an agent update Discord bot
Have the agent send a message or reply to a message in Discord bot as part of a larger task. Turn on approval and a person signs off on each change first.
- 03
Work from your CRM
Give one agent HubSpot and Discord bot: it can search contacts in HubSpot and send a message in Discord bot in the same run.
FAQ
Discord bot and MyDeepAgents
Can MyDeepAgents connect to Discord bot?
Yes. The Discord bot connector has 6 actions: 3 read and 3 make changes. Your agents can call them as tools, and your workflows can run them as steps.
How do I connect Discord bot?
Paste an API key from your Discord bot account. You'll need: Bot token. Credentials are stored encrypted with your organization's own keys and are opened only at the moment of a call.
Can an agent change data in Discord bot without asking?
Only if you let it. Each of the 3 actions that change data can be set to wait for a person's approval before it runs.
Can I use Discord bot in workflows as well as agents?
Yes. Every Discord bot action also works as a step in a workflow, and the same connection serves your agents and your workflows.
Early access
Put Discord bot to work
Connect it in a few minutes, give an agent the actions it needs, and decide which changes wait for a person.