Kiyomi-Parents / Kiyomi

A Discord bot centered around the Beat Saber community
MIT License
1 stars 1 forks source link

Bump twitchio from 2.2.0 to 2.4.0 #95

Closed dependabot[bot] closed 2 years ago

dependabot[bot] commented 2 years ago

Bumps twitchio from 2.2.0 to 2.4.0.

Release notes

Sourced from twitchio's releases.

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 = {} to Client.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

2.3.0

We've revamped our documentation, check out https://twitchio.dev/en/latest/changelog.html for the full changelog.

A few key highlights of this release:

  • Added retain_cache kwarg to Client and Bot. Default is True.
  • Added support for poll endpoints
  • fixed some bugs related to initial_channels
  • fixed the issues with ext.commands cooldown buckets always using the global bucket
  • fixed an issue with ext.commands.Bot.reload_module failing to reinstate the old module if an error occurred while reloading
Changelog

Sourced from twitchio's changelog.

2.4.0

  • TwitchIO

    • Additions
      • Added :func:~twitchio.Client.event_reconnect to :class:~twitchio.Client
      • Add attribute docs to :class:~twitchio.PartialUser and :class:~twitchio.User
      • Added following new :class:~twitchio.PartialUser methods:
        • :func:~twitchio.PartialUser.create_custom_reward
        • :func:~twitchio.PartialUser.chat_announcement
        • :func:~twitchio.PartialUser.delete_chat_messages
        • :func:~twitchio.PartialUser.fetch_channel_vips
        • :func:~twitchio.PartialUser.add_channel_vip
        • :func:~twitchio.PartialUser.remove_channel_vip
        • :func:~twitchio.PartialUser.add_channel_moderator
        • :func:~twitchio.PartialUser.remove_channel_moderator
        • :func:~twitchio.PartialUser.start_raid
        • :func:~twitchio.PartialUser.cancel_raid
        • :func:~twitchio.PartialUser.ban_user
        • :func:~twitchio.PartialUser.timeout_user
        • :func:~twitchio.PartialUser.unban_user
        • :func:~twitchio.PartialUser.send_whisper
      • Added following new :class:~twitchio.Client methods:
        • :func:~twitchio.Client.fetch_chatters_colors
        • :func:~twitchio.Client.update_chatter_color
        • :func:~twitchio.Client.fetch_channels
      • Add duration and vod_offset attributes to :class:~twitchio.Clip
      • Added repr for :class:~twitchio.CustomReward
      • Added repr for :class:~twitchio.PredictionOutcome
      • Add extra attributes to :class:~twitchio.UserBan
    • Bug fixes
      • Added self.registered_callbacks = {} to :func:~twitchio.Client.from_client_credentials
      • Allow empty or missing initial_channels to trigger :func:~twitchio.Client.event_ready
      • Corrected :func:twitchio.CustomRewardRedemption.fulfill endpoint typo and creation
      • Corrected :func:twitchio.CustomRewardRedemption.refund endpoint typo and creation
      • Changed :func:~twitchio.Client.join_channels logic to handle bigger channel lists better
      • Corrected :class:~twitchio.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 :func:twitchio.Client.start exiting immediately
      • Chatters will now update correctly when someone leaves chat
      • Fixed a crash when twitch sends a RECONNECT notice
  • ext.commands

    • Bug fixes
      • Add type conversion for variable positional arguments
      • Fixed message content while handling commands in reply messages
  • ext.pubsub

    • Bug fixes
      • :class:~twitchio.ext.pubsub.PubSubModerationAction now handles missing keys

... (truncated)

Commits


Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
dependabot[bot] commented 2 years ago

Superseded by #99.