Skip to content

v4.5.0

Latest
Compare
Choose a tag to compare
@Teekeks Teekeks released this 21 May 15:48
7cf1d89

This version drops PubSub from the library

Twitch

  • Fixed Twitch.get_emote_sets() being parsed incorrectly (thanks @moralrecordings )
  • Fixed Exceptions when passing None to unsuspecting parameters in various functions
  • Fixed returning wrong object for Twitch.get_channel_emotes()
  • Added new parameter for_source_only to Twitch.send_chat_message()
  • Added new parameter subscription_id to Twitch.get_eventsub_subscriptions()
  • Added new parameter target_token to Twitch.get_eventsub_subscriptions()
  • Added new parameter target_token to Twitch.delete_eventsub_subscription()

EventSub

  • Added new data related to shared chat to the payload of listen_channel_chat_message()
  • Added message metadata to all event payloads
  • Added message deduplication to EventSubWebsocket
  • Added the following new Topics:
    • "Channel Bits Use" listen_channel_bits_use()
    • "Channel Points Automatic Reward Redemption v2" listen_channel_points_automatic_reward_redemption_add_v2()
  • Fixed potentially targeting the wrong access token depending on transport and available tokens

Other

  • Improved type hints all over the library
  • Fixed AttributeError in TwitchObject.__repr__() for unset attributes