mirror of
https://gitlab.com/Kwoth/nadekobot.git
synced 2025-09-12 18:28:27 -04:00
More cleanup, namespace fixes, convenience methods for IKernel
This commit is contained in:
@@ -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();
|
Reference in New Issue
Block a user