Skip to content

$spawnShard

$spawnShard will spawn a shard, requires sharding.

Usage

$spawnShard[shard]

Parameters

FieldTypeDescriptionRequired
shardnumberAmount of shards.true

Example(s)

This will spawn shard 1:

1
client.command({
2
name: "spawnShard",
3
code: `
4
$spawnShard[1]`
5
});