mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-10 08:33:30 +01:00
guarantee promise resolution for voice connections
This commit is contained in:
@@ -125,6 +125,7 @@ class ClientVoiceManager {
|
||||
reject,
|
||||
});
|
||||
this._sendWSJoin(channel);
|
||||
this.client.setTimeout(() => reject(new Error('connection not established in 15s time period')), 15000);
|
||||
});
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user