mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-11 00:53:31 +01:00
Implement Sequential Rate Limiting
This commit is contained in:
@@ -151,7 +151,8 @@ class WebSocketManager {
|
||||
* Run whenever an error occurs with the WebSocket connection. Tries to reconnect
|
||||
* @returns {null}
|
||||
*/
|
||||
eventError() {
|
||||
eventError(e) {
|
||||
console.log(e);
|
||||
this.tryReconnect();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user