mirror of
https://gitlab.com/Kwoth/nadekobot.git
synced 2025-11-04 08:34:27 -05:00
NEW: add NadekoBot__creds env to specify alternative creds.yml
This commit is contained in:
@@ -23,6 +23,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();
|
||||
Reference in New Issue
Block a user