report number of cpus

This commit is contained in:
13xforever 2019-11-29 19:56:09 +05:00
parent 05c1d88b2f
commit 01b46aff91

View File

@ -38,6 +38,7 @@ namespace CompatBot.Commands
true)
.AddField("Runtime info", $"Confinement: {SandboxDetector.Detect()}\n" +
$"OS: {RuntimeEnvironment.OperatingSystem} {RuntimeEnvironment.OperatingSystemVersion}\n" +
$"CPUs: {Environment.ProcessorCount}\n" +
$"Time zones: {TimeParser.TimeZoneMap.Count} out of {TimeParser.TimeZoneAcronyms.Count} resolved, {TimeZoneInfo.GetSystemTimeZones().Count} total", true);
AppendPiracyStats(embed);
AppendCmdStats(ctx, embed);