Releases: Teekeks/pyTwitchAPI
Releases · Teekeks/pyTwitchAPI
v3.9.0
Twitch
-
Added the following new Endpoints:
- "Get Channel Followers"
Twitch.get_channel_followers()
- "Get Followed Channels"
Twitch.get_followed_channels()
- "Get Channel Followers"
-
Fixed TypeError: __api_get_request() got an unexpected keyword argument 'body' (Thanks @JC-Chung )
EventSub
- Added new Topic
EventSub.listen_channel_follow_v2()
Chat
v3.8.0
Twitch
- Added the new Endpoint "Send a Shoutout"
Twitch.send_a_shoutout()
Twitch.get_users_follows()
is now marked as deprecated- Added missing parameter
type
toTwitch.get_streams()
Helper
- Added new Async Generator helper
limit()
, with this you can limit the amount of results returned from the given AsyncGenerator to a maximum number
EventSub
- Added the following new Topics:
- "Channel Shoutout Create"
EventSub.listen_channel_shoutout_create()
- "Channel Shoutout Receive"
EventSub.listen_channel_shoutout_receive()
- "Channel Shoutout Create"
PubSub
- Added new Topic "Low trust Users"
PubSub.listen_low_trust_users()
Chat
- Improved rate limit handling of
Chat.join_room()
when joining multiple rooms per call - The following functions now all ignore the capitalization of the given chat room:
Chat.join_room()
Chat.leave_room()
Chat.is_mod()
Chat.send_message()
- Added
initial_channel
toChat.__init__()
, with this you can auto join channels on bot startup - Added
Chat.is_in_room()
- Added
Chat.log_no_registered_command_handler
, with this you can control if the "no registered handler for event" warnings should be logged or not
OAuth
- Added the following new AuthScopes:
AuthScope.MODERATOR_MANAGE_SHOUTOUTS
AuthScope.MODERATOR_READ_SHOUTOUTS
AuthScope.MODERATOR_READ_FOLLOWERS
- Improved async handling of
UserAuthenticator
v3.7.0
Twitch
- Added the following Endpoints:
- "Get AutoMod Settings"
Twitch.get_automod_settings()
- "Update AutoMod Settings"
Twitch.update_automod_settings()
- "Get AutoMod Settings"
- Added
Twitch.session_timeout
config. With this you can optionally change the timeout behavior across the entire library
OAuth
- Added the following new AuthScopes:
MODERATOR_READ_AUTOMOD_SETTINGS
MODERATOR_MANAGE_AUTOMOD_SETTINGS
v3.6.2
v3.6.1
v3.6.0
v3.5.2
v3.5.1
v3.5.0
Twitch
- Added the following new Endpoints:
- "Get Charity Campaign"
Twitch.get_charity_campaign()
- "Get Charity Donations"
Twitch.get_charity_donations()
- "Get Charity Campaign"
- Fixed bug that made the user refresh token invalid in some rare edge cases
EventSub
- Added the following new Topics:
- "Charity Campaign Start"
EventSub.listen_channel_charity_campaign_start()
- "Charity Campaign Stop"
EventSub.listen_channel_charity_campaign_stop()
- "Charity Campaign Progress"
EventSub.listen_channel_charity_campaign_progress()
- "Charity Campaign Donate"
EventSub.listen_channel_charity_campaign_donate()
- "Charity Campaign Start"
PubSub
- Added
PubSub.is_connected()
- Fixed bug that prevented a clean shutdown on Linux
Chat
- Added automatic rate limit handling to channel joining and message sending
Chat.send_message()
now waits till reconnected when Chat got disconnectedChat.send_raw_irc_message()
now waits till reconnected when Chat got disconnected- Added
Chat.is_connected()
- Added
Chat.is_ready()
- Chat now cleanly handles reconnect requests
OAuth
- Added new Auth Scope
AuthScope.CHANNEL_READ_CHARITY
- Fixed bug that prevented a clean shutdown on Linux