Generalized the ChatMessageReader to make it work with ChannelResubscrition. Added connections refresh command.

This commit is contained in:
Tom
2024-08-12 19:45:17 +00:00
parent f503f7c6f4
commit 1d43515fb9
18 changed files with 182 additions and 135 deletions

View File

@@ -215,6 +215,15 @@ namespace TwitchChatTTS.Hermes.Socket
});
}
public async Task FetchConnections()
{
await Send(3, new RequestMessage()
{
Type = "get_connections",
Data = null
});
}
public void Initialize()
{
_logger.Information("Initializing Hermes websocket client.");