Skip to content

Commit 3c47a44

Browse files
committed
updated description
1 parent 7243e8f commit 3c47a44

File tree

1 file changed

+17
-17
lines changed

1 file changed

+17
-17
lines changed

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

Lines changed: 17 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -77,23 +77,23 @@ Our voice gateways have their own set of opcodes and close codes.
7777

7878
###### Voice Close Event Codes
7979

80-
| Code | Description | Explanation |
81-
|------|--------------------------|--------------------------------------------------------------------------------------------------------------------------------------------------|
82-
| 4001 | Unknown opcode | You sent an invalid [opcode](/docs/topics/opcodes-and-status-codes#voice-voice-opcodes). |
83-
| 4002 | Failed to decode payload | You sent an invalid payload in your [identifying](/docs/events/gateway-events#identify) to the Gateway. |
84-
| 4003 | Not authenticated | You sent a payload before [identifying](/docs/events/gateway-events#identify) with the Gateway. |
85-
| 4004 | Authentication failed | The token you sent in your [identify](/docs/events/gateway-events#identify) payload is incorrect. |
86-
| 4005 | Already authenticated | You sent more than one [identify](/docs/events/gateway-events#identify) payload. Stahp. |
87-
| 4006 | Session no longer valid | Your session is no longer valid. |
88-
| 4009 | Session timeout | Your session has timed out. |
89-
| 4011 | Server not found | We can't find the server you're trying to connect to. |
90-
| 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 | Disconnect individual client (you were kicked, the main gateway session was dropped, etc.). Should not reconnect. |
92-
| 4015 | Voice server crashed | The server crashed. Our bad! Try [resuming](/docs/topics/voice-connections#resuming-voice-connection). |
93-
| 4016 | Unknown encryption mode | We didn't recognize your [encryption](/docs/topics/voice-connections#transport-encryption-and-sending-voice). |
94-
| 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. |
80+
| Code | Description | Explanation |
81+
|------|-------------------------------|--------------------------------------------------------------------------------------------------------------------------------------------------|
82+
| 4001 | Unknown opcode | You sent an invalid [opcode](/docs/topics/opcodes-and-status-codes#voice-voice-opcodes). |
83+
| 4002 | Failed to decode payload | You sent an invalid payload in your [identifying](/docs/events/gateway-events#identify) to the Gateway. |
84+
| 4003 | Not authenticated | You sent a payload before [identifying](/docs/events/gateway-events#identify) with the Gateway. |
85+
| 4004 | Authentication failed | The token you sent in your [identify](/docs/events/gateway-events#identify) payload is incorrect. |
86+
| 4005 | Already authenticated | You sent more than one [identify](/docs/events/gateway-events#identify) payload. Stahp. |
87+
| 4006 | Session no longer valid | Your session is no longer valid. |
88+
| 4009 | Session timeout | Your session has timed out. |
89+
| 4011 | Server not found | We can't find the server you're trying to connect to. |
90+
| 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 | Disconnect individual client (you were kicked, the main gateway session was dropped, etc.). Should not reconnect. |
92+
| 4015 | Voice server crashed | The server crashed. Our bad! Try [resuming](/docs/topics/voice-connections#resuming-voice-connection). |
93+
| 4016 | Unknown encryption mode | We didn't recognize your [encryption](/docs/topics/voice-connections#transport-encryption-and-sending-voice). |
94+
| 4020 | Bad request | You sent a malformed request |
95+
| 4021 | Disconnected: Rate Limited | Disconnect due to rate limit exceeded. Should not reconnect. |
96+
| 4022 | Disconnected: Call Terminated | Disconnect all clients due to call terminatedc (channel deleted, voice server changed, etc.). Should not reconnect. |
9797

9898

9999
## HTTP

0 commit comments

Comments
 (0)