TwitchLib / TwitchLib.EventSub.Webhooks

Provides an easy way to setup a Twitch EventSub Webhooks Server
6 stars 7 forks source link

fix: hype train last contribution should be single object #3

Closed iProdigy closed 1 year ago

iProdigy commented 1 year ago

Fixes #2

https://dev.twitch.tv/docs/eventsub/eventsub-subscription-types#channelhype_trainbegin

Mahsaap commented 1 year ago

Still missing top contributions that is a list

Syzuna commented 1 year ago

https://github.com/TwitchLib/TwitchLib.EventSub.Webhooks/blob/main/TwitchLib.EventSub.Webhooks/Core/Models/HypeTrain/HypeTrainBase.cs

has TopContributions as its shared by all of the hypetrain subscription types I pulled the shared ones into a base class that the others inherit

iProdigy commented 1 year ago

the shared ones into a base class that the others inherit

yep, i also do it the same way

Mahsaap commented 1 year ago

Ya all good I missed the inheritance :)