Latest
enum GatewayCloseEventCodes
import { GatewayCloseEventCodes } from "https://dotland.deno.dev/x/discordeno@18.0.1/plugins/helpers/deps.ts";

Members

AlreadyAuthenticated

You sent more than one identify payload. Don't do that!

AuthenticationFailed

The account token sent with your identify payload is incorrect.

DecodeError

You sent an invalid payload to us. Don't do that!

DisallowedIntents

You sent a disallowed intent for a Gateway Intent. You may have tried to specify an intent that you have not enabled or are not approved for.

InvalidApiVersion

You sent an invalid version for the gateway.

InvalidIntents

You sent an invalid intent for a Gateway Intent. You may have incorrectly calculated the bitwise value.

InvalidSeq = 4007

The sequence sent when resuming the session was invalid. Reconnect and start a new session.

InvalidShard

You sent us an invalid shard when identifying.

NormalClosure = 1000

A normal closure of the gateway. You may attempt to reconnect.

NotAuthenticated

You sent us a payload prior to identifying.

RateLimited

Woah nelly! You're sending payloads to us too quickly. Slow it down! You will be disconnected on receiving this.

SessionTimedOut

Your session timed out. Reconnect and start a new one.

ShardingRequired

The session would have handled too many guilds - you are required to shard your connection in order to connect.

UnknownError = 4000

We're not sure what went wrong. Try reconnecting?

UnknownOpcode

You sent an invalid Gateway opcode or an invalid payload for an opcode. Don't do that!

import GatewayCloseEventCodes
import { GatewayCloseEventCodes } from "https://dotland.deno.dev/x/discordeno@18.0.1/plugins/helpers/deps.ts";