v0.5.1
Introducing nostrum 0.5.1 "I don't pick favourites", named after Craig's
favourite cat! The release brings support for threads, a decoder for incoming
voice data, integration events, modal submit interactions, and a bunch more
goodies!
A huge thanks to @Th3-M4jor, @BrandtHill, @frm and @kianmeng for their
contributions to this release!
If you're using streamlink for voice streaming, you may need to update it to >=
3.0 for this release, in order for the stream URL feature to work properly.
Functionality
- Threads
- Added support for threads:
- Added
Nostrum.Api
functions for working with threads - Add thread events in the consumer
- Added struct definitions for thread events
- Added
- Added support for threads:
- Voice
- Use streamlink directly for determining stream URLs
- Add support for persisting playback across channels
- Remove dependency to
porcelain
in favour of native ports - Add opus packet decoding, allowing to save received audio as
.ogg
files
- Interactions
- Add support for modal submit interactions and the associated text input type
- Integrations
- Expand stub integration events to proper types
- Document integration events & cast them to event structs
- Update to API v9
Documentation
- Fix a bunch of typos