From ae74720ecd1024c39264e60816fc81e891a54e9c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Venik=20=F0=9F=90=BE?= <72519459+Xaladend@users.noreply.github.com> Date: Sat, 4 Jan 2025 17:33:05 +0500 Subject: [PATCH] Added explanation about disconnection event code 4020. Added explanation about disconnection error code 4020 when user sent an invalid heartbeat payload to the Gateway. --- docs/topics/Opcodes_and_Status_Codes.md | 1 + 1 file changed, 1 insertion(+) diff --git a/docs/topics/Opcodes_and_Status_Codes.md b/docs/topics/Opcodes_and_Status_Codes.md index 7105857a1a..c0f0fe80e5 100644 --- a/docs/topics/Opcodes_and_Status_Codes.md +++ b/docs/topics/Opcodes_and_Status_Codes.md @@ -91,6 +91,7 @@ Our voice gateways have their own set of opcodes and close codes. | 4014 | Disconnected | Channel was deleted, you were kicked, voice server changed, or the main gateway session was dropped. Should not reconnect. | | 4015 | Voice server crashed | The server crashed. Our bad! Try [resuming](#DOCS_TOPICS_VOICE_CONNECTIONS/resuming-voice-connection). | | 4016 | Unknown encryption mode | We didn't recognize your [encryption](#DOCS_TOPICS_VOICE_CONNECTIONS/transport-encryption-and-sending-voice). | +| 4020 | Invalid heartbeat | You sent an invalid [heartbeat payload](#DOCS_TOPICS_VOICE_CONNECTIONS/heartbeating) to the Gateway. | ## HTTP