Discord Communication Channel
Connect a Discord bot as a two-way communication channel. Outbound via the Discord REST API; inbound in real time via a Gateway worker; signed (Ed25519) Interactions endpoint that acknowledges slash commands / buttons. Optional per-channel AI auto-reply answers straightforward messages and proposes the rest for human approval. Pairs with the Communications Hub.
Found by static analysis of the 0.8.0 source. Links that only appear at runtime are not visible here.
3 of the 3 modules outside the starter set that channel_discord needs in code are missing from its requires.
A newer release exists: channel_discord in 0.9.0.
Before you enable channel_discord in 0.8.0
4 modules its code requires
✓ 0 declared⚠ 3 not declared, outside the starter set1 not declared, in every app
Enable these yourself, they are not in every starter app
Already enabled in every starter app: 1 module.
1 more is optional: the module loses a feature without it.
4 calls could not be resolved. See Couldn't resolve.
Before you disable channel_discord in 0.8.0
0 modules require it in code
No module requires channel_discord in code.
32 calls in this release could not be resolved, so this is not a guarantee.
requires ⚠ Gap into a module every starter app has (lower risk) Optional Collaboration In requires only, not seen in code In every starter appA dot takes its module's area colour. Each side lists the areas in the order of the map.Reads left to right: what uses it → channel_discord → what it needs. Select a module to go to its row.Needs
| Module | In code | requires | package.json |
|---|---|---|---|
Module: communication_channels | In code: Required · api, command, di, lib, setup, subscriber, worker | requires: ⚠ Gap | package.json: ✓ Declared |
20 places
and 10 more in | |||
Module: integrations | In code: Required · cli, setup | requires: ⚠ Gap | package.json: ✓ Declared |
7 places
| |||
Module: messages | In code: Required · command, subscriber | requires: ⚠ Gap | package.json: ✓ Declared |
2 places
| |||
In every app (2)
| Module | In code | requires | package.json |
|---|---|---|---|
Module: directory | In code: Required · api, lib | requires: ⚠ Gap in every app | package.json: ✓ Declared |
4 places
| |||
Module: auth | In code: Optional · lib | requires: Not declared | package.json: ✓ Declared |
2 places
| |||
Used by
No module uses channel_discord in code or declares it in requires.
32 calls elsewhere could not be resolved, so this is not a guarantee.
Couldn't resolve (4)
These calls pick a service by a variable, so static analysis can't tell which module they need. Check them in the code.
packages/channel-discord/src/modules/channel_discord/api/channels/[id]/ai-auto-reply/route.ts:65·container.resolve(name)packages/channel-discord/src/modules/channel_discord/cli.ts:88·container.resolve(name)packages/channel-discord/src/modules/channel_discord/subscribers/ai-auto-reply.ts:86·ctx.resolve<T>(name)packages/channel-discord/src/modules/channel_discord/subscribers/ai-auto-reply.ts:87·ctx.container.resolve<T>(name)
Facts
Registers in DI (2)
channelDiscordAdapter·packages/channel-discord/src/modules/channel_discord/di.ts:20channelDiscordHealthCheck·packages/channel-discord/src/modules/channel_discord/di.ts:24
Emits events (1)
communication_channels.channel.requires_reauth·packages/channel-discord/src/modules/channel_discord/workers/discord-gateway.ts:374
Subscribes to events (1)
communication_channels.message.received·packages/channel-discord/src/modules/channel_discord/subscribers/ai-auto-reply.ts:60
Fills widget spots (1)
profile:communication-channels:connect·packages/channel-discord/src/modules/channel_discord/widgets/injection-table.ts:5