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

get_chatters() raises TypeError #225

Closed Braastos closed 1 year ago

Braastos commented 1 year ago

If the get_chatters() method is called with only broadcaster_id and moderator_id it raises an TypeError.

File "twitchAPI\twitch.py", line 3822, in get_chatters if first is not None and first < 1 or first > 1000: ^^^^^^^^^^^^ TypeError: '>' not supported between instances of 'NoneType' and 'int' My current workaround is setting first to 100.

d7415 commented 1 year ago

Just need to clarify the and vs or (#226)