Skip to content

Commit 41553b1

Browse files
authored
feat(errors): add new voice error code (#1279)
1 parent 56a058e commit 41553b1

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

disnake/errors.py

+1
Original file line numberDiff line numberDiff line change
@@ -252,6 +252,7 @@ class ConnectionClosed(ClientException):
252252
4014: "Disconnected, channel was deleted, you were kicked, voice server changed, or the main gateway session was dropped.",
253253
4015: "Voice server crashed",
254254
4016: "Unknown encryption mode",
255+
4020: "Bad request - you sent a malformed request",
255256
}
256257

257258
def __init__(

0 commit comments

Comments
 (0)