Skip to main content
Module

x/discord_rpc_deno/mod.ts>RPC_CLOSE_CODE

port of @xhayper/discord-rpc to deno
Go to Latest
enum RPC_CLOSE_CODE
import { RPC_CLOSE_CODE } from "https://deno.land/x/discord_rpc_deno@1.0.11/mod.ts";

Members

RPC_CLOSE_ABNORMAL = 1006
RPC_CLOSE_INVALID_CLIENT_ID = 4000

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

RPC_CLOSE_INVALID_ENCODING = 4005

The encoding specified in the connection string was not valid

RPC_CLOSE_INVALID_ORIGIN = 4001

You connected to the RPC server with an invalid origin.

RPC_CLOSE_INVALID_VERSION = 4004

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

RPC_CLOSE_NORMAL = 1000
RPC_CLOSE_RATE_LIMITED = 4002

You are being rate limited.

RPC_CLOSE_TOKEN_REVOKED = 4003

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

RPC_CLOSE_UNSUPPORTED = 1003