Update doc for ShardingManager#createShard id parameter

This commit is contained in:
Schuyler Cebulskie
2017-11-19 02:06:38 -05:00
parent f777c19fbf
commit 9cd097492c

View File

@@ -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) {