Messaging
AI agents that use Discord
UtilitySpaces gives an AI agent scoped access to Discord through its own encrypted connection, not your password. The agent can call 5 named Discord tools, and the one that writes waits for a person's approval unless an admin has set the connection to run without asking. Every call is written to a hash-chained audit log with its arguments and its result.
What an agent can do in Discord
Read servers, channels, and messages the bot can see, and send messages to channels. An agent calls these by name, and matching is exact.
| Tool | What it does | Waits for approval by default |
|---|---|---|
| Get bot user | Get the bot's own user record. | No — read only |
| List servers | List servers (guilds) the bot has joined. | No — read only |
| List server channels | List channels of a server. | No — read only |
| Get channel messages | Read recent messages from a channel. | No — read only |
| Send message | Send a message to a channel as the bot. | Yes — it writes |
4 read tools, 1 write tool. Generated from the connector catalogue the product runs on, so it cannot list a tool that does not exist.
What teams hand an agent in Discord
Community teams hand an agent the watching work in Discord: reading a support or feedback channel with Get channel messages, spotting repeated questions, and summarising them for the people who maintain the product. Send message is the single write, and a person approves it first unless an admin has switched this connection to run without asking.
- Watch a feedback channel each morning by reading recent messages and listing the bug reports and feature requests that came in.
- Map which servers and channels the bot can see when onboarding a new moderator, so they know where to look.
- Send an announcement to a channel when a release ships or a scheduled event starts (after a person approves it)
What waits for a person
Reads run on their own. These do not — each one waits in Approvals for an owner or admin unless an admin has set this connection to run writes without asking, and every call toDiscord, approved, rejected or unattended, is logged.
- Send message POST
What connecting Discord takes
Discord uses an API key you create in Discord and paste in once. A workspace admin sets the connection up; the fields are:
- Bot Token
Credentials are encrypted and bound to your workspace, never read back, and every outbound call passes one guarded fetch — the connector security posture sets out exactly how, and the security page covers the platform around it.
Where Discord fits
Give an agent Discord work by writing a message in the inbox, or put its tools in a scheduled flow. What the run cost is on the cost breakdown.
Other messaging integrations: Chatwoot, Gmail, Microsoft Outlook. Or see every application agents can connect to.
See it doing your actual work
Open a demo workspace, connect one app, and give an agent a real job. No card, no sales call.
We reply to every message within one business day.