mirror of
https://github.com/discordjs/discord.js.git
synced 2026-06-02 09:00:07 +00:00
Fix naming conflict with ShardingManager#respawn
This commit is contained in:
@@ -259,7 +259,7 @@ class Shard extends EventEmitter {
|
||||
// Shard is requesting a respawn of all shards
|
||||
if (message._sRespawnAll) {
|
||||
const { shardDelay, respawnDelay, waitForReady } = message._sRespawnAll;
|
||||
this.manager.respawn(shardDelay, respawnDelay, waitForReady).catch(() => {
|
||||
this.manager.respawnAll(shardDelay, respawnDelay, waitForReady).catch(() => {
|
||||
// Do nothing
|
||||
});
|
||||
return;
|
||||
|
||||
Reference in New Issue
Block a user