Table of Contents

Class ShardingOptions

Namespace
DSharpPlus.Clients
Assembly
DSharpPlus.dll

Contains configuration options for sharding within DSharpPlus.

public sealed class ShardingOptions
Inheritance
object
ShardingOptions

Properties

ShardCount

Specifies the amount of shards to start. If left default, the library will decide automatically.

Stride

Specifies the amount of shards IDs to skip when starting up, designed for multi-process sharding.

TotalShards

Specifies the amount of total shards associated with this bot. This is only considered in combination with Stride.