mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-09 16:13:31 +01:00
Update doc for ShardingManager#createShard id parameter
This commit is contained in:
@@ -83,7 +83,8 @@ class ShardingManager extends EventEmitter {
|
||||
|
||||
/**
|
||||
* Spawns a single shard.
|
||||
* @param {number} id ID of the shard to spawn. **This is usually not necessary**
|
||||
* @param {number} [id=this.shards.size] ID of the shard to spawn -
|
||||
* **This is usually not necessary to manually specify.**
|
||||
* @returns {Shard}
|
||||
*/
|
||||
createShard(id = this.shards.size) {
|
||||
|
||||
Reference in New Issue
Block a user