Skip to content

v0.7.0

Pre-release
Pre-release

Choose a tag to compare

@Hydr46605 Hydr46605 released this 16 Aug 20:12
· 34 commits to main since this release

Gateway transport and modal actions

Crow 0.7.0 ships the interaction runtime: a crow gateway daemon that connects to Discord's Gateway and dispatches registered actions live, plus modal actions.

Added

  • crow gateway daemon (alias crow daemon): connects over a native WebSocket, identifies with the GUILDS intent, and receives component and modal interactions live. Heartbeat ack-tracking, session resume, and exponential-backoff reconnect keep it attached.
  • Modal actions: register_action accepts kind: "modal" to open a form (up to 5 text inputs) and reply on submit; kind: "reply" (the default) keeps click-to-reply.
  • DiscordClient.interactionCallback for type-4 and type-9 callbacks, with interaction-token redaction.

Changed

  • resolveInteraction now reads the interaction type and returns a message or modal callback.
  • Action is a discriminated union; legacy registry entries without kind load as replies.

Full release notes: see CHANGELOG.md.