PythonistaGuild / TwitchIO

An Async Bot/API wrapper for Twitch made in Python.
https://twitchio.dev
MIT License
791 stars 163 forks source link

Adding level Attribute to the HypeTrainBeginProgressData class #337

Closed OliCoDev closed 1 year ago

OliCoDev commented 1 year ago

Pull request summary

This Pull Request adds the level attribute to HypeTrainBeginProgressData. In case of a Hype Train Begin event, the attribute level is set to None as it doesn't contain a level attribut in its response, as per the recommendation of Chillymosh. Otherwise, it's set to the level value that is present inside of the the Hype Train Progress response.

Checklist