Merge branch 'feature/v4-creds.yml-location' into 'v4'

NEW: add NadekoBot__creds env to specify alternative creds.yml

See merge request Kwoth/nadekobot!257
This commit is contained in:
Kwoth
2022-07-27 05:00:28 +00:00
5 changed files with 39 additions and 20 deletions

View File

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