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.fulfill
endpoint typo and creation - Corrected
CustomRewardRedemption.refund
endpoint typo and creation - Changed
Client.join_channels
logic to handle bigger channel lists better - Corrected
Predictor
slots 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.start
exiting 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_subscriptions
for convenience - Created an Eventsub-specific
CustomReward
model
And more!
As always, check out the full changelist at https://twitchio.dev/en/latest/changelog.html