Added missing websocket support for Redemptions and Actions. Fixed Ad Break actions. Cleaned some code.
This commit is contained in:
@@ -46,7 +46,8 @@ namespace TwitchChatTTS.Hermes.Socket.Requests
|
||||
}
|
||||
|
||||
_logger.Information($"Redeemable actions loaded [count: {actions.Count()}]");
|
||||
_bus.Send(this, "redemptions_initiation", new RedemptionInitiation() {
|
||||
_bus.Send(this, "redemptions_initiation", new RedemptionInitiation()
|
||||
{
|
||||
Redemptions = redemptions,
|
||||
Actions = actions.ToDictionary(a => a.Name, a => a)
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user