Sharding
The sharding
builder allows you to configure Kord's sharding settings, which by default will automatically shard your bot across multiple gateways in a single process.
This corresponds with Kord's sharding
function. However, the default settings should be sufficient for most bots.
ExtensibleBot(TOKEN) {
// ...
sharding { recommended ->
Shards(recommended)
}
}
Last modified: 20 November 2024