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