mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-10 08:33:30 +01:00
Fix naming conflict with ShardingManager#respawn
This commit is contained in:
@@ -106,7 +106,7 @@ class ShardClientUtil {
|
||||
* (in milliseconds)
|
||||
* @param {boolean} [waitForReady=true] Whether to wait for a shard to become ready before continuing to another
|
||||
* @returns {Promise<void>} Resolves upon the message being sent
|
||||
* @see {@link ShardingManager#respawn}
|
||||
* @see {@link ShardingManager#respawnAll}
|
||||
*/
|
||||
respawnAll(shardDelay = 5000, respawnDelay = 500, waitForReady = true) {
|
||||
return this.send({ _sRespawnAll: { shardDelay, respawnDelay, waitForReady } });
|
||||
|
||||
Reference in New Issue
Block a user