Teekeks / pyTwitchAPI

A Python 3.7 compatible implementation of the Twitch API, EventSub, PubSub and Chat
https://pytwitchapi.dev
MIT License
254 stars 38 forks source link

Fix rate limit handling for Chat.join_room when giving more than one room #212

Closed Teekeks closed 1 year ago

Teekeks commented 1 year ago

Currently, the rate limit handling only properly works when joining one channel at a time. As soon as you hand a list of channel to join, the rate limiting will only use one rate limit resource for multiple joins resulting in join attempts being dropped due to rate limit.