Skip to content
ContractSpec
Start here

Package manual · integrations

·Communication and notifications

integration.communication-channel-discord

Observe-only multi-guild Discord Gateway integration for CommunicationOS.

integrationsintegrationv2.0.4experimentalservernode
@lssm-tech/integration.communication-channel-discord
bun add @lssm-tech/integration.communication-channel-discord
Package source ↗Manifest ↗

Manifest declarations describe the current workspace; they do not verify registry publication or runtime execution.

Package guide

Observe-only Discord Gateway integration for multi-guild community intelligence. It captures an explicit event set, applies guild and channel policy before normalization, and reports sequence gaps and coverage degradation. It never sends messages or performs moderation actions.

The runtime can consume an asynchronous per-guild policy authority. It refreshes source status, installation health, channel rules, and policy version immediately before raw persistence. Coverage counters are reported per guild, and backfill, persistence, publication, and coverage failures use content-free phase/code records.

The worker requires Node.js 24, one bot token per trust zone, and read-only Discord permissions (ViewChannel, ReadMessageHistory, ViewAuditLog). Message content is a privileged intent and must be enabled for content analysis.

Default history backfill is 30 days (configurable from 0 through 90 days). Audit-log reconciliation is capped at Discord's 45-day availability window.

Relationships

THIS PACKAGEintegration.communication-channel-discord23 import paths

Arrows point from a package to its direct dependency. Counts are derived from captured workspace manifests.

2 declarations

Declared capabilities

Discord Community Observation

Observe-only multi-guild Discord Gateway ingestion, reconciliation, and installation verification.

Scripts

  • buildcontractspec-bun-build build
  • build:bundlecontractspec-bun-build transpile
  • build:typescontractspec-bun-build types
  • cleanrimraf dist .turbo
  • lint:checknode ../../../scripts/biome.cjs check .
  • lint:fixnode ../../../scripts/biome.cjs check --write .
  • testbun test
  • typechecktsgo --noEmit