Added proper slave mode - additional clients after the first connection. Fixed a few issues. Updated to version 4.8.2.
This commit is contained in:
@@ -33,13 +33,7 @@ namespace TwitchChatTTS.Hermes.Socket.Requests
|
||||
return;
|
||||
}
|
||||
|
||||
var userId = requestData["user"].ToString();
|
||||
var voiceId = requestData["voice"].ToString();
|
||||
if (string.IsNullOrEmpty(userId))
|
||||
{
|
||||
_logger.Warning("User Id is invalid.");
|
||||
return;
|
||||
}
|
||||
if (string.IsNullOrEmpty(voiceId))
|
||||
{
|
||||
_logger.Warning("Voice Id is invalid.");
|
||||
@@ -52,7 +46,7 @@ namespace TwitchChatTTS.Hermes.Socket.Requests
|
||||
}
|
||||
|
||||
_user.VoicesSelected[chatterId] = voiceId;
|
||||
_logger.Information($"Updated a TTS user's voice [user id: {userId}][voice: {voiceId}][voice name: {voiceName}]");
|
||||
_logger.Information($"Updated a TTS user's voice [user id: {_user.TwitchUserId}][voice: {voiceId}][voice name: {voiceName}]");
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user