Property ShardCount
- Namespace
- DisCatSharp
- Assembly
- DisCatSharp.dll
ShardCount
Sets the total number of shards the bot is on. If not sharding, this value should be left with a default value of 1.
If sharding automatically, this value will indicate how many shards to boot. If left default for automatic sharding, the client will determine the shard count automatically.
Must be greater than 0. The cross-constraint that ShardId must be less than this value is enforced at connection time.
public int ShardCount { set; }