Discord
This is a shipped config-backed outbound surface. Direct sends are implemented today; native Discord gateway reply-loop ownership is not implemented yet.At A Glance
Minimal Config
Smoke Test
channels send discordreturns success for a valid channel id targetloong channelslists Discord under the config-backed sectionloong doctorsurfaces any token or endpoint problems without pretending a serve runtime exists- multi-account configs show which configured account is ready and which one still needs review
- if
application_idorallowed_guild_idsare configured, inspection surfaces keep them visible as reserved future-runtime fields instead of silently discarding them
Command Surface
Required Fields For Send
Planned Fields Reserved For Future Serve Work
These fields already exist in the channel contract because they belong to the eventual richer Discord runtime story, but they are not enough to claim a shipped serve loop today.Target Rules
channels send discordexpects a Discord channel/conversation id as the target.- Keep targets explicit and numeric.
- If the target is empty, Loong fails fast instead of attempting an accidental send.
Operator Notes
- Discord is currently the Discord HTTP API outbound lane, not a gateway-owned bot runtime.
- If
api_base_urlis overridden, it must still resolve tohttporhttps; non-HTTP schemes are rejected. - Multi-account configs should use
default_accountplusaccounts.<id>before you build higher-level routing on top. loong doctorand onboarding preflight summarize per-account direct-send readiness for configured Discord accounts.application_idandallowed_guild_idsare preserved in status as future-runtime governance fields, not as proof of a shippedchannels serve discordloop.- Treat
loong channelsas the inventory surface andloong doctoras the recovery surface.
Gateway And Ownership
This surface is a direct-send delivery lane. It does not joingateway run or the gateway-owned reply-loop contract today.
Related Docs
- Continue to Channel Guides for the full actionable matrix.
- Continue to Channels for the conceptual surface model.
- Continue to Channel Setup for the shared public setup contract.