Skip to main content
Module

x/discordeno/mod.ts>RpcCloseEventCodes

Discord API library for Deno
Latest
enum RpcCloseEventCodes
import { RpcCloseEventCodes } from "https://deno.land/x/discordeno@18.0.1/mod.ts";

Members

InvalidClientId = 4000

You connected to the RPC server with an invalid client ID.

InvalidEncoding

The encoding specified in the connection string was not valid.

InvalidOrigin

You connected to the RPC server with an invalid origin.

InvalidVersion

The RPC Server version specified in the connection string was not valid.

RateLimited

You are being rate limited.

TokenRevoked

The OAuth2 token associated with a connection was revoked, get a new one!