Repository navigation
v0.2.4 — Gateway Event Models
Pre-release
Pre-release
Gateway Event Models
Completing the final coverage items for v0.2.x, Dusk now officially emits strongly-typed Event objects for all major Gateway events!
Features
- Dusk::Event abstract role.
- 15 new typed objects in
Dusk::Event::Events(e.g.,MessageCreate,GuildCreate,InteractionCreate). Dispatchernow automatically maps raw WSS payloads to these native objects before emitting them through theeventsSupply.- You can still access the raw JSON via the
.rawproperty. - Fixed Raku compilation ambiguities surrounding Cache deletion (
.DELETE-KEY).
Asgard Compliance
- Formalized RF-04 in SPECS and Matrix.
Tests
- Total tests: 263. 100% Passing.
Install
zef install Dusk