Add basic support for multi-node clustering

This commit is contained in:
Ske
2021-06-09 14:49:12 +02:00
parent b09a34d9cd
commit d61f61fead
3 changed files with 53 additions and 10 deletions

View File

@@ -15,5 +15,14 @@ namespace PluralKit.Bot
public int? MaxShardConcurrency { get; set; }
public ulong? AdminRole { get; set; }
public ClusterSettings? Cluster { get; set; }
public record ClusterSettings
{
public string NodeName { get; set; }
public int TotalShards { get; set; }
public int TotalNodes { get; set; }
}
}
}