Skip to content
OpenNodeFlow.DocsOpen beta ↗
Agent guide ↗
Docs/Library & integrations

Discord integration

Discord uses bot authorization. Snowflake IDs stay strings, history pages are bounded, before is explicit, and sends disable automatic mention parsing.

23 Oct 2026 · 3 min read
Markdown ↗

Discord contributes 12 operations in the current source catalog. Its implementation family belongs to the Discord pack. Add that pack to the chosen workspace before authoring with its definitions.

Capabilities and boundaries#

Discord uses bot authorization. Snowflake IDs stay strings, history pages are bounded, before is explicit, and sends disable automatic mention parsing.

Message content is bounded to 2,000 characters. Visibility/history/send/manage/reaction permissions are different; privileged message-content intent may limit fields. A REST history page is not a Gateway stream or guaranteed complete history.

Configure the connection#

Authentication uses the provider's Authorization header with Bot prefix. Store the value under the secret name DISCORD_BOT_TOKEN or a deliberate override.

The source default base origin is https://discord.com. Domains under example.com/example.net are placeholders for your own API, not running public services. Use the exact provider API origin and trusted certificate chain. A connection profile can supply credentials and repeated target defaults; profile credentials take precedence over node secret-name overrides. These developer nodes do not obtain tokens or refresh grants.

Required account permissions depend on the operation: Bot authorization only. Channel visibility, READ_MESSAGE_HISTORY, SEND_MESSAGES, MANAGE_MESSAGES or ADD_REACTIONS as appropriate; message-content privileged intent may limit fields.

First bounded read#

Start with Discord Get Channel, which is declared as a read. Its synthetic argument fixture is:

json
{
  "channelId": "123456789012345678"
}

Replace the synthetic resource identifiers with an explicitly authorized target before any real read. An example is not an installed workflow and contains no credential values.

Set maxPages:1 initially and inspect the result, status, selected direct fields and any request_id. Lists return count, has_more and optional continuation; not every provider resource is paginated. Keep the same resource/query scope when resuming. Optional outputs remain absent when the provider does not supply them. Wire only the fields present on the selected branch.

Available operations#

OperationEffectAPI route
Discord Get ChannelreadGET /api/v10/channels/{channelId}
Discord List Guild ChannelsreadGET /api/v10/guilds/{id}/channels
Discord Read Channel MessagesreadGET /api/v10/channels/{channelId}/messages
Discord Get Channel MessagereadGET /api/v10/channels/{channelId}/messages/{messageId}
Discord Create Channel MessagewritePOST /api/v10/channels/{channelId}/messages
Discord Edit Own MessagewritePATCH /api/v10/channels/{channelId}/messages/{messageId}
Discord Delete MessagewriteDELETE /api/v10/channels/{channelId}/messages/{messageId}
Discord Add Own ReactionwritePUT /api/v10/channels/{channelId}/messages/{messageId}/reactions/{emoji}/@me
Discord Remove Own ReactionwriteDELETE /api/v10/channels/{channelId}/messages/{messageId}/reactions/{emoji}/@me
Discord Get Bot UserreadGET /api/v10/users/@me
Discord Get UserreadGET /api/v10/users/{userId}
Discord Trigger Typing IndicatorwritePOST /api/v10/channels/{channelId}/typing

Each linked reference contains exact source arguments, named socket contracts, configuration schema, response shape and synthetic data. Source keys must be resolved to the installation's actual definition/version before graph editing.

Bounds, changes and recovery#

The shared developer adapter defaults to a 15-second request timeout, a 1 MiB response bound, one page and 1,000 accumulated items. Configurable maxima are 120 seconds, 3,000,000 response bytes, 20 pages and 5,000 items. Choose smaller limits where appropriate; an excessive response fails rather than becoming a silently complete list.

Read HTTP status and provider-specific success markers. Rejected authentication, permission failures and invalid requests need configuration correction. Rate limiting needs deliberate later scheduling. Same-origin/API-root continuation checks prevent sending credentials to an unrelated next link.

Write/delete operations require confirmWrites:true and ONF runtime $retries:0. Inspect the target and body before running. A timeout or lost response can follow a successful external action; reconcile the provider resource before repeating. HTTP 202 records acceptance, not completed work.

The reference is source-derived. Synthetic fixtures and isolated worker proof do not establish your account permissions, API availability or live delivery. See shared setup and pack behavior.

Provider contract references#

Source provenance

Reviewed against maintained source and topic documentation on 23 October 2026. This is a source snapshot; installed versions and provider access may differ.

  • ../OpenNodeFlow-Library/docs/DEVELOPER-PACKS.md
  • ../OpenNodeFlow-Library/work/developer-packs-20261022/CONTRACT.md
  • ../OpenNodeFlow-Library/work/developer-packs-20261022/collaboration-research.md
Type to search the documentation.
↑ ↓ to navigate · Enter to openAgent map ↗