Skip to content

Commit

Permalink
feat(errors): add new voice error code (#1279)
Browse files Browse the repository at this point in the history
  • Loading branch information
Snipy7374 authored Jan 28, 2025
1 parent 56a058e commit 41553b1
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions disnake/errors.py
Original file line number Diff line number Diff line change
Expand Up @@ -252,6 +252,7 @@ class ConnectionClosed(ClientException):
4014: "Disconnected, channel was deleted, you were kicked, voice server changed, or the main gateway session was dropped.",
4015: "Voice server crashed",
4016: "Unknown encryption mode",
4020: "Bad request - you sent a malformed request",
}

def __init__(
Expand Down

0 comments on commit 41553b1

Please sign in to comment.