Added missing websocket support for Redemptions and Actions. Fixed Ad Break actions. Cleaned some code.
This commit is contained in:
@@ -28,8 +28,10 @@ namespace TwitchChatTTS.Hermes.Socket.Requests
|
||||
return;
|
||||
}
|
||||
|
||||
_redemptions.Update(action);
|
||||
_logger.Information($"A new redeemable action has been created [action name: {action.Name}]");
|
||||
if (_redemptions.Update(action))
|
||||
_logger.Information($"A redeemable action has been updated [action name: {action.Name}]");
|
||||
else
|
||||
_logger.Warning($"Failed to update an existing redeemable action [action name: {action.Name}]");
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user