Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added new parameters to function twitchio.PartialUser.modify_stream for delay and tags #475

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

eelcohn
Copy link

@eelcohn eelcohn commented Dec 5, 2024

Description

This PR adds two parameters to the twitchio.PartialUser.modify_stream() function. These parameters are described at https://dev.twitch.tv/docs/api/reference/#modify-channel-information:

  • delay: The number of seconds you want your broadcast buffered before streaming it live. The delay helps ensure fairness during competitive play. Only users with Partner status may set this field. The maximum delay is 900 seconds (15 minutes).
  • tags: A list of channel-defined tags to apply to the channel. To remove all tags from the channel, set tags to an empty array. Tags help identify the content that the channel streams. Learn More

Changelog:

  • TwitchIO
    • Additions
      • Added new parameters to :func:~twitchio.PartialUser.modify_stream for delay and tags

Checklist

  • If code changes were made then they have been tested.
    • I have updated the documentation to reflect the changes.
    • I have updated the changelog with a quick recap of my changes.
  • This PR fixes an issue.
  • This PR adds something new (e.g. new method or parameters).
  • This PR is a breaking change (e.g. methods or parameters removed/renamed)
  • This PR is not a code change (e.g. documentation, README, ...)
  • I have read and agree to the Developer Certificate of Origin for this contribution

@chillymosh
Copy link
Collaborator

Just so you are aware, we are no longer maintaining 2.x as 3.x has been our priority over the last year, which is now in Alpha testing. I'll review this once I get some free time.

@eelcohn
Copy link
Author

eelcohn commented Dec 5, 2024

Just so you are aware, we are no longer maintaining 2.x as 3.x has been our priority over the last year, which is now in Alpha testing. I'll review this once I get some free time.

Thank you, just let me know if you want me to create a PR against the 3.x tree.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants