Added ICoordinator for bots which arent' sharded (the ones which won't be using NadekoBot.Coordinator)

This commit is contained in:
Kwoth
2021-06-20 10:46:19 +02:00
parent 77904a3b00
commit 44fdd4ff23
3 changed files with 90 additions and 13 deletions

View File

@@ -193,6 +193,10 @@ namespace NadekoBot.Coordinator
Arguments = string.Format(_config.ShardStartArgs,
shardId,
Environment.ProcessId),
EnvironmentVariables =
{
{"NADEKOBOT_IS_COORDINATED", "1"}
}
// CreateNoWindow = true,
// UseShellExecute = false,
});