Skip to main content
Deno 2 is finally here 🎉️
Learn more
Go to Latest
enum RpcCloseEventCodes
import { RpcCloseEventCodes } from "https://deno.land/x/discordeno@17.2.0/plugins/cache/deps.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!