mirror of
https://github.com/danbulant/discord.js
synced 2026-07-12 22:50:40 +00:00
Update doc for ShardingManager#createShard id parameter
This commit is contained in:
parent
f777c19fbf
commit
9cd097492c
1 changed files with 2 additions and 1 deletions
|
|
@ -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) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue