2024-03-12 14:05:27 -04:00
|
|
|
namespace TwitchChatTTS
|
|
|
|
{
|
|
|
|
public class Configuration
|
|
|
|
{
|
2024-06-16 20:19:31 -04:00
|
|
|
public string Environment = "PROD";
|
|
|
|
|
2024-03-12 14:05:27 -04:00
|
|
|
public HermesConfiguration? Hermes;
|
|
|
|
public TwitchConfiguration? Twitch;
|
|
|
|
public OBSConfiguration? Obs;
|
|
|
|
|
|
|
|
|
|
|
|
public class HermesConfiguration {
|
|
|
|
public string? Token;
|
|
|
|
}
|
|
|
|
|
|
|
|
public class TwitchConfiguration {
|
|
|
|
public IEnumerable<string>? Channels;
|
|
|
|
public IDictionary<string, RedeemConfiguration>? Redeems;
|
|
|
|
public bool? TtsWhenOffline;
|
|
|
|
}
|
|
|
|
|
|
|
|
public class RedeemConfiguration {
|
|
|
|
public string? AudioFilePath;
|
|
|
|
public string? OutputFilePath;
|
|
|
|
public string? OutputContent;
|
|
|
|
public bool? OutputAppend;
|
|
|
|
}
|
|
|
|
|
|
|
|
public class OBSConfiguration {
|
|
|
|
public string? Host;
|
|
|
|
public short? Port;
|
|
|
|
public string? Password;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|