Discord
Connects a Discord bot to text and announcement channels in servers you manage.
Connection note
Installs the Discord bot into a server you manage via OAuth 2.0 and lets you pick a text or announcement channel.
Specification summary
- Text limit
- 2,000 charactersUnicode graphemes (Intl.Segmenter)
- Media attachments
- up to 10 images, up to 10 videos, up to 10 gifs, up to 10 documents (mixed kinds allowed)
- Threads and parts
- Threaded reply chain (up to 10 parts)
- Authentication
- OAuth 2.0Cloud shares a platform app once reviewed; self-hosters register their own app.
- Approvals and autonomy
- Starts on Approve everything; ceiling on_the_loop (no unsupervised auto-publish)Default publish:
in_the_loop· Ceiling:on_the_loop - Analytics and API cost
- Allowed for analytics and learningIncluded (no per-call platform API surcharge)
Authentication and token lifecycle
Credentials are encrypted at rest and scoped to the connected channel. You can revoke and scrub stored tokens immediately via POST /v2/channels/disconnect or from the web app; see Data deletion for full revocation and deletion details.
| Variant | Flow | Refresh policy | Platform scopes |
|---|---|---|---|
| Connect Discord serverMulti-step: Select a channel | OAuth 2.0 | none | botidentifyguilds |
Content and media constraints
Editor mode: markdown. Minimum text length: 0. Polls: not supported. AI content disclosure: no API disclosure field.
| Kind | Accepted MIME types | Max count | Max file size | Additional bounds |
|---|---|---|---|---|
image | image/jpegimage/pngimage/webpimage/gif | 10 | 10 MiB | None |
video | video/mp4video/webmvideo/quicktime | 10 | 10 MiB | None |
gif | image/gif | 10 | 10 MiB | None |
document | application/pdf | 10 | 10 MiB | None |
Guardrails, rate limits and compliance
Manifest validation rules
- Hard rule
discord.message_limitKeep each Discord message within 2,000 characters and attach at most 10 files (total payload up to 25 MiB).
- Hard rule
discord.embed_fieldsSet embed_title whenever embed_url or embed_color is provided, and do not combine custom embeds with suppress_embeds.
- Advice
discord.safe_mentionsMass @everyone and @here mentions are suppressed by default unless allow_everyone is explicitly enabled.
Queue and rate-limit windows
Worker queue: discord (max 4 concurrent jobs).
| Scope | Operation | Window | Max operations |
|---|---|---|---|
channel | publish | 1 minute | 30 |
Shipped platform guardrails
- forbidApplies to: agent, oauth_client, api_key, user
Honeloop does not reply to other users' Discord messages (26 R4-N1); replies stay within the channel's own multi-part posts.
- forbidApplies to: agent, oauth_client, api_key
Automated third-party replies are out of scope on closed platforms (26 R4-N1).
- forbidApplies to: user, api_key, oauth_client, agent
Direct messages are out of scope (constitution §1).
Manifest helper tools
Invoke via POST /v2/providers/invoke_tool or MCP invoke_provider_tool:
- List Discord channels
list_channelschannels:readLists up to 50 text and announcement channels in the connected Discord server so you can pick a target channel_id. Example: {} returns [{"id":"123456789012345678","name":"#announcements","type":"announcement"}].
- Search Discord server members and roles
search_memberschannels:readSearch members and roles in the connected Discord server for @mentions (users format as <@id>, roles format as <@&id>). Example: {"query":"mod"} returns [{"id":"&987654321098765432","label":"@Moderators","kind":"role"}].
Publish to Discord
Every call passes the same 12-stage policy gate, manifest preflight check and audit trail. Under the default in_the_loop policy, scheduling returns HTTP 202 ApprovalDiversion until a reviewer approves.
# Draft and schedule for your Discord channel (provider: discord) hl posts create --channels "$CHANNEL_ID" --text "Speckled oatmeal mugs from the autumn firing are in the shop Tuesday at 10:00." hl posts schedule "$POST_ID" --version 1 --at 2026-11-26T09:30:00Z hl posts status "$POST_ID"
curl -sS -X POST "https://api.honeloop.example/v2/posts/create" \
-H "Authorization: Bearer $HONELOOP_AGENT_KEY" \
-H "Content-Type: application/json" \
-H "Idempotency-Key: create-discord-0001" \
-d '{
"channel_ids": ["0197e3a0-0000-7000-8000-0000000000a5"],
"parts": [
{ "kind": "text", "text": "Speckled oatmeal mugs from the autumn firing are in the shop Tuesday at 10:00." }
]
}'Common questions
How does Honeloop count characters for Discord?
Discord allows up to 2,000 characters by default using Unicode graphemes (Intl.Segmenter). Honeloop validates text length before scheduling and rejects over-limit drafts with 400 validation_failed instead of failing after approval.
What media and multi-part formats does Discord support?
up to 10 images, up to 10 videos, up to 10 gifs, up to 10 documents (mixed kinds allowed). Threaded reply chain (up to 10 parts).
How do authentication and approvals work on Discord?
Discord connects via OAuth 2.0. Starts on Approve everything; ceiling on_the_loop (no unsupervised auto-publish). Disconnecting the channel immediately revokes and scrubs stored credentials.
What compliance guardrails apply to Discord?
Analytics AI posture is allowed. Cost model: Included (no per-call platform API surcharge). Access status: development access while platform review is pending.