Removal of default policies.

This commit is contained in:
Tom 2025-01-14 01:20:44 +00:00
parent b724cd00eb
commit 75fa154546

View File

@ -31,8 +31,7 @@ namespace TwitchChatTTS.Hermes.Socket.Requests
var policies = JsonSerializer.Deserialize<IEnumerable<Policy>>(json, _options);
if (policies == null || !policies.Any())
{
_logger.Information($"No policies have been found. Policies have been set to default.");
_policies.Set("everyone", "tts", 25, TimeSpan.FromSeconds(15));
_logger.Error($"No policies have been found.");
return;
}