antiantiswearingbot/AntiAntiSwearingBot/Config.cs
jetsparrow a4e7b836b8 Make unbleeper testable
- separate unbleeper as dependency of aasb
- fix algorithm
- tests
2019-08-17 22:23:13 +03:00

36 lines
1.0 KiB
C#

namespace AntiAntiSwearingBot
{
public class Config : ConfigBase
{
public string ApiKey { get; private set; }
public ProxySettings Proxy { get; private set; }
public SearchDictionarySettings SearchDictionary { get; private set; }
public UnbleeperSettings Unbleeper { get; private set; }
}
public struct UnbleeperSettings
{
public string BleepedSwearsRegex { get; private set; }
}
public struct SearchDictionarySettings
{
public string DictionaryPath { get; private set; }
public double LearnNudgeFactor { get; private set; }
public double LearnInitialRating { get; private set; }
public int MinUnlearnNudge { get; private set; }
public double UnlearnNudgeFactor { get; private set; }
}
public struct ProxySettings
{
public string Url { get; private set; }
public int Port { get; private set; }
public string Login { get; private set; }
public string Password { get; private set; }
}
}