mirror of
https://github.com/Jetsparrow/antiantiswearingbot.git
synced 2026-01-21 07:16:08 +03:00
23 lines
574 B
C#
23 lines
574 B
C#
namespace Jetsparrow.Aasb.Tests;
|
||
|
||
public static class DefaultSettings
|
||
{
|
||
public static SearchDictionarySettings SearchDictionary { get; }
|
||
public static UnbleeperSettings Unbleeper { get; }
|
||
|
||
static DefaultSettings()
|
||
{
|
||
Unbleeper = new UnbleeperSettings
|
||
{
|
||
BleepedSwearsRegex = @"[а-яА-ЯёЁ@\\*#]+",
|
||
MinWordLength = 3,
|
||
MinAmbiguousWordLength = 5
|
||
};
|
||
|
||
SearchDictionary = new SearchDictionarySettings
|
||
{
|
||
DictionaryPath = "dict/ObsceneDictionaryRu.txt"
|
||
};
|
||
}
|
||
}
|