channel-discord
Posts delivery notifications to a Discord webhook, registered as the discord channel in the delivery system. Tenant-owned chat target: reach it only via ctx.notify(type, { route: { discord: "<connection name>" } }). The webhook URL is a tenant secret under channel-discord:webhooks.<connection name>; only the connection name is logged. Mentions are disabled and content is cut to 2000 characters. Requires delivery and secrets. Host allowlist (discord.com, discordapp.com, path /api/webhooks/), https-only and the request timeout are app options of createChannelDiscordFeature(opts), never tenant config.
How it fits
Section titled “How it fits”What this feature needs to run (Requires).
flowchart TB
n_channel_discord["channel-discord"]
subgraph how_reqs["Requires"]
n_delivery["delivery"]
n_secrets["secrets"]
end
n_delivery --> n_channel_discord
n_secrets --> n_channel_discord
Dependencies
Section titled “Dependencies”Extensions & cross-feature APIs
Section titled “Extensions & cross-feature APIs”- Registers extension:
deliveryChannel→discord