Skip to content

Commit 2ba8d70

Browse files
committed
More voice disconnect reasons
1 parent ef5e0d0 commit 2ba8d70

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

docs/topics/opcodes-and-status-codes.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,10 +88,13 @@ Our voice gateways have their own set of opcodes and close codes.
8888
| 4009 | Session timeout | Your session has timed out. |
8989
| 4011 | Server not found | We can't find the server you're trying to connect to. |
9090
| 4012 | Unknown protocol | We didn't recognize the [protocol](/docs/topics/voice-connections#establishing-a-voice-udp-connection-example-select-protocol-payload) you sent. |
91-
| 4014 | Disconnected | Channel was deleted, you were kicked, voice server changed, or the main gateway session was dropped. Should not reconnect. |
91+
| 4014 | Disconnected | Disconnect indiviual client (you were kicked, the main gateway session was dropped, etc.). Should not reconnect. |
9292
| 4015 | Voice server crashed | The server crashed. Our bad! Try [resuming](/docs/topics/voice-connections#resuming-voice-connection). |
9393
| 4016 | Unknown encryption mode | We didn't recognize your [encryption](/docs/topics/voice-connections#transport-encryption-and-sending-voice). |
9494
| 4020 | Bad request | You sent a malformed request |
95+
| 4021 | Disconnected | Disconnect due to rate limit exceeded. Should not reconnect. |
96+
| 4022 | Disconnected | Disconnect all clients (channel deleted, voice server changed, etc,). Should not reconnect. |
97+
9598

9699
## HTTP
97100

0 commit comments

Comments
 (0)