From 7d538c3a5bfebc382a2cd65f8fdce350070cbfa1 Mon Sep 17 00:00:00 2001 From: Stephen Birarda Date: Tue, 14 Jan 2025 17:11:50 +0000 Subject: [PATCH 1/2] [voice] add 4020 (Bad request) close event code --- 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..d1f8a36ca3 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 | Bad request | You sent a malformed request | ## HTTP From 8cd5ce6f64623119e07590b10f522245a86c6c12 Mon Sep 17 00:00:00 2001 From: Stephen Birarda Date: Tue, 14 Jan 2025 17:14:10 +0000 Subject: [PATCH 2/2] fix the table --- docs/topics/Opcodes_and_Status_Codes.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/topics/Opcodes_and_Status_Codes.md b/docs/topics/Opcodes_and_Status_Codes.md index d1f8a36ca3..257a69c581 100644 --- a/docs/topics/Opcodes_and_Status_Codes.md +++ b/docs/topics/Opcodes_and_Status_Codes.md @@ -91,7 +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 | Bad request | You sent a malformed request | +| 4020 | Bad request | You sent a malformed request | ## HTTP