Added Actions & Redemptions updates via websocket messages. Updated RedemptionManager due to live changes.

This commit is contained in:
Tom
2025-01-06 14:36:54 +00:00
parent d74b132c0f
commit 77b37f04b6
14 changed files with 326 additions and 59 deletions

View File

@@ -32,7 +32,7 @@ namespace TwitchChatTTS.Twitch.Socket.Handlers
var actions = _redemptionManager.Get("adbreak_begin");
if (!actions.Any())
{
_logger.Debug($"Found {actions.Count} actions for this Twitch ad break");
_logger.Debug($"Found {actions.Count()} actions for this Twitch ad break");
foreach (var action in actions)
try
@@ -59,7 +59,7 @@ namespace TwitchChatTTS.Twitch.Socket.Handlers
actions = _redemptionManager.Get("adbreak_end");
if (!actions.Any())
{
_logger.Debug($"Found {actions.Count} actions for this Twitch ad break");
_logger.Debug($"Found {actions.Count()} actions for this Twitch ad break");
foreach (var action in actions)
try