Added Actions & Redemptions updates via websocket messages. Updated RedemptionManager due to live changes.
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user