Skip to content

v0.2.2 — Interactions & UI Components

Pre-release
Pre-release

Choose a tag to compare

@manelsen manelsen released this 24 Feb 21:52
· 28 commits to master since this release

Interactions & UI Components

Slash command builders, interaction responses, and message components.

New Modules

  • Dusk::Interaction::Command — Fluent builder for slash commands with option types (STRING, INTEGER, BOOLEAN, USER, CHANNEL, ROLE) and sub-commands
  • Dusk::Interaction::Response — Response builders: reply, ephemeral, defer, update, modal
  • Dusk::Component — Buttons (primary/secondary/success/danger/link), String/User/Role/Channel selects, Text inputs, Action rows

Tests

  • 5 new interaction tests covering builders, serialization, and fixture parsing
  • Interaction fixture validated (/ping, /pingephemeral)

Install

zef install Dusk