mirror of
https://github.com/RPCS3/discord-bot.git
synced 2026-01-31 01:25:22 +01:00
map ambiguous language codes depending on the game region
This commit is contained in:
@@ -35,7 +35,16 @@ internal static class Program
|
||||
|
||||
//AppDomain.CurrentDomain.SetData("REGEX_DEFAULT_MATCH_TIMEOUT", TimeSpan.FromMilliseconds(100));
|
||||
Regex.CacheSize = 200; // default is 15, we need more for content filter
|
||||
|
||||
|
||||
|
||||
try
|
||||
{
|
||||
Console.OutputEncoding = Encoding.UTF8;
|
||||
}
|
||||
catch (Exception e)
|
||||
{
|
||||
Config.Log.Warn(e, "Failed to set console output encoding");
|
||||
}
|
||||
Console.WriteLine("Confinement: " + SandboxDetector.Detect());
|
||||
if (args.Length > 0 && args[0] == "--dry-run")
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user