integration.communication-channel-discord
Observe-only multi-guild Discord Gateway integration for CommunicationOS.
@lssm-tech/integration.communication-channel-discordbun add @lssm-tech/integration.communication-channel-discordManifest 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
Arrows point from a package to its direct dependency. Counts are derived from captured workspace manifests.
2 declarations
@lssm-tech/lib.communication-specworkspace:^
Read the package manual ↗discord.js14.27.0
Declared capabilities
Observe-only multi-guild Discord Gateway ingestion, reconciliation, and installation verification.
Scripts
buildcontractspec-bun-build buildbuild:bundlecontractspec-bun-build transpilebuild:typescontractspec-bun-build typescleanrimraf dist .turbolint:checknode ../../../scripts/biome.cjs check .lint:fixnode ../../../scripts/biome.cjs check --write .testbun testtypechecktsgo --noEmit