2.4.0
TwitchIO 2.4 brings a huge set of changes! We've implemented new endpoints, squashed tons of bugs, and fixed up the eventsub ext.
Here's some bug fixes:
- Added
self.registered_callbacks = {}toClient.from_client_credentials - Allow empty or missing initial_channels to trigger
Client.event_ready - Corrected
CustomRewardRedemption.fulfillendpoint typo and creation - Corrected
CustomRewardRedemption.refundendpoint typo and creation - Changed
Client.join_channelslogic to handle bigger channel lists better - Corrected
Predictorslots and user keys, repr has also been added - Updated IRC parser to not strip colons from beginning of messages
- Updated IRC parser to not remove multiple spaces when clumped together
- Fixed
Client.startexiting immediately (YES, this means Client.start works properly now!) - Chatters will now update correctly when someone leaves chat
- Fixed a crash when twitch sends a RECONNECT notice
We've added all the moderation endpoints, the new send_whisper endpoint (although this isn't very reliable, just like normal whispers).
Added Client.fetch_channels to allow fetching of more than one channel with a single API call.
Eventsub ext:
- Added "Gift Subscriptions" subscriptions for gifting other users Subs
- Added Re-subscription Message subscriptions for Resub messages
- Added
EventSubClient.delete_all_active_subscriptionsfor convenience - Created an Eventsub-specific
CustomRewardmodel
And more!
As always, check out the full changelist at https://twitchio.dev/en/latest/changelog.html