From 36ae613736c1399ffc7b5443f018c7bf7843d2f0 Mon Sep 17 00:00:00 2001 From: Tom Date: Tue, 13 Aug 2024 08:02:32 +0000 Subject: [PATCH] Fixed ad break --- Twitch/Socket/Handlers/NotificationHandler.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Twitch/Socket/Handlers/NotificationHandler.cs b/Twitch/Socket/Handlers/NotificationHandler.cs index 78e646c..e991bc9 100644 --- a/Twitch/Socket/Handlers/NotificationHandler.cs +++ b/Twitch/Socket/Handlers/NotificationHandler.cs @@ -30,7 +30,7 @@ namespace TwitchChatTTS.Twitch.Socket.Handlers }; _messageTypes = new Dictionary(); - _messageTypes.Add("channel.adbreak.begin", typeof(ChannelAdBreakMessage)); + _messageTypes.Add("channel.ad_break.begin", typeof(ChannelAdBreakMessage)); _messageTypes.Add("channel.ban", typeof(ChannelBanMessage)); _messageTypes.Add("channel.chat.message", typeof(ChannelChatMessage)); _messageTypes.Add("channel.chat.clear", typeof(ChannelChatClearMessage));