The event sent when the client gets gateway rate limited.
The client is supposed to wait wait milliseconds before sending any more events, otherwise they are disconnected.
wait
{ "op": "RATE_LIMIT", "d": { "wait": 1010 // 1.01 seconds }} Copy
{ "op": "RATE_LIMIT", "d": { "wait": 1010 // 1.01 seconds }}
The amount of milliseconds you have to wait before the rate limit ends
The event sent when the client gets gateway rate limited.
The client is supposed to wait
wait
milliseconds before sending any more events, otherwise they are disconnected.Example