Skip to content

Commit ae74720

Browse files
committed
Added explanation about disconnection event code 4020.
Added explanation about disconnection error code 4020 when user sent an invalid heartbeat payload to the Gateway.
1 parent 2d07527 commit ae74720

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

docs/topics/Opcodes_and_Status_Codes.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -91,6 +91,7 @@ Our voice gateways have their own set of opcodes and close codes.
9191
| 4014 | Disconnected | Channel was deleted, you were kicked, voice server changed, or the main gateway session was dropped. 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). |
94+
| 4020 | Invalid heartbeat | You sent an invalid [heartbeat payload](#DOCS_TOPICS_VOICE_CONNECTIONS/heartbeating) to the Gateway. |
9495

9596
## HTTP
9697

0 commit comments

Comments
 (0)