Skip to main content
Deno 2 is finally here 🎉️
Learn more
Extremely Popular
Go to Latest
enum VoiceCloseEventCodes
import { VoiceCloseEventCodes } from "https://deno.land/x/discordeno@17.2.0/template/minimal/deps.ts";

Members

AlreadyAuthenticated

You sent more than one identify payload. Stahp.

AuthenticationFailed

The token you sent in your identify payload is incorrect.

Disconnect = 4014

Channel was deleted, you were kicked, voice server changed, or the main gateway session was dropped. Should not reconnect.

FailedToDecodePayload

You sent a invalid payload in your identifying to the Gateway.

NotAuthenticated

You sent a payload before identifying with the Gateway.

ServerNotFound = 4011

We can't find the server you're trying to connect to.

SessionNoLongerValid

Your session is no longer valid.

SessionTimedOut = 4009

Your session has timed out.

UnknownEncryptionMode

We didn't recognize your encryption.

UnknownOpcode = 4001

You sent an invalid opcode.

UnknownProtocol

We didn't recognize the protocol you sent.

VoiceServerCrashed

The server crashed. Our bad! Try resuming.