Enum VoiceCloseCode
Represents generic op codes for voice disconnect.
Assembly: Discord.Net.WebSocket.dll​
View Source​
Declaration
public enum VoiceCloseCode
Fields​
UnknownOpcode​
You sent an invalid opcode.
View Source​
Declaration
UnknownOpcode = 4001
DecodeFailure​
You sent an invalid payload in your identifying to the Gateway.
View Source​
Declaration
DecodeFailure = 4002
NotAuthenticated​
You sent a payload before identifying with the Gateway.
View Source​
Declaration
NotAuthenticated = 4003
AuthenticationFailed​
The token you sent in your identify payload is incorrect.
View Source​
Declaration
AuthenticationFailed = 4004
AlreadyAuthenticated​
You sent more than one identify payload. Stahp.
View Source​
Declaration
AlreadyAuthenticated = 4005
SessionNolongerValid​
Your session is no longer valid.
View Source​
Declaration
SessionNolongerValid = 4006
SessionTimeout​
Your session has timed out.
View Source​
Declaration
SessionTimeout = 4009
ServerNotFound​
We can't find the server you're trying to connect to.
View Source​
Declaration
ServerNotFound = 4011
UnknownProtocol​
We didn't recognize the protocol you sent.
View Source​
Declaration
UnknownProtocol = 4012
Disconnected​
Channel was deleted, you were kicked, voice server changed, or the main gateway session was dropped. Should not reconnect.
View Source​
Declaration
Disconnected = 4014
VoiceServerCrashed​
The server crashed. Our bad! Try resuming.
View Source​
Declaration
VoiceServerCrashed = 4015
UnknownEncryptionMode​
We didn't recognize your encryption.
View Source​
Declaration
UnknownEncryptionMode = 4016