Fixed 7tv & Twitch reconnection. Added adbreak, follow, subscription handlers for Twitch. Added multi-chat support. Added support to unsubscribe from Twitch event subs.

This commit is contained in:
Tom
2024-08-06 19:29:29 +00:00
parent 75fcb8e0f8
commit 95d879f511
60 changed files with 1063 additions and 671 deletions

View File

@ -54,7 +54,8 @@ namespace TwitchChatTTS.Seven.Socket.Handlers
{
if (removing)
{
if (_emotes.Get(o.Name) != o.Id) {
if (_emotes.Get(o.Name) != o.Id)
{
_logger.Warning("Mismatched emote found while removing a 7tv emote.");
continue;
}
@ -63,7 +64,8 @@ namespace TwitchChatTTS.Seven.Socket.Handlers
}
else if (updater != null)
{
if (_emotes.Get(o.Name) != o.Id) {
if (_emotes.Get(o.Name) != o.Id)
{
_logger.Warning("Mismatched emote found while updating a 7tv emote.");
continue;
}