More cleanup, namespace fixes, convenience methods for IKernel

This commit is contained in:
Kwoth
2023-04-07 00:41:31 +02:00
parent 2c63b1cce7
commit 4bc3147697
131 changed files with 217 additions and 338 deletions

View File

@@ -1,5 +1,3 @@
using Nadeko.Common;
var pid = Environment.ProcessId;
var shardId = 0;
@@ -25,6 +23,6 @@ if (args.Length > 0 && args[0] != "run")
}
LogSetup.SetupLogger(shardId);
Log.Information("Pid: {ProcessId}", pid);
Log.Information("Pid: {ProcessId}", pid);
await new Bot(shardId, totalShards, Environment.GetEnvironmentVariable("NadekoBot__creds")).RunAndBlockAsync();