TwitchLib / TwitchLib.PubSub

PubSub component of TwitchLib.
38 stars 52 forks source link

Channel id support #30

Closed swiftyspiffy closed 5 years ago

swiftyspiffy commented 5 years ago

This adds ChannelId support to models that don't already have channel id. Because:

This uses a dictionary that associates a given topic with a given channel. This way we can be certain the channel id is what the user states it is, at time of calling ListenToX method. This also doesn't require parsing the topic to extract the channel id, which gets messy when all topics have different formatting.