mirror of
https://github.com/danbulant/discord.js
synced 2026-05-27 22:11:53 +00:00
docs(ShardingManager): respawnAll actually resolves with a collection of shards keyed by numbers
This commit is contained in:
parent
c33ab1ea61
commit
4a48a7d621
1 changed files with 1 additions and 1 deletions
|
|
@ -203,7 +203,7 @@ class ShardingManager extends EventEmitter {
|
|||
* (in milliseconds)
|
||||
* @param {boolean} [waitForReady=true] Whether to wait for a shard to become ready before continuing to another
|
||||
* @param {number} [currentShardIndex=0] The shard index to start respawning at
|
||||
* @returns {Promise<Collection<string, Shard>>}
|
||||
* @returns {Promise<Collection<number, Shard>>}
|
||||
*/
|
||||
respawnAll(shardDelay = 5000, respawnDelay = 500, waitForReady = true, currentShardIndex = 0) {
|
||||
let s = 0;
|
||||
|
|
|
|||
Loading…
Reference in a new issue