Closed jcscottiii closed 2 years ago
Hello! Thanks for the issue. If this is a general help question, for a faster response consider joining the official Discord Server
Else if you have an issue with the library please wait for someone to help you here.
I can confirm by testing User.create_clip(token=token) that this is a bug. Calling .lower() is not necessary here.
The library that builds the query parameters for requests expects a string, int or float. But has_delay is of type bool. We need to convert the boolean to a string and lower case it.
https://dev.twitch.tv/docs/api/reference#create-clip
This happens if has_delay is provided or the default is used.