mirror of
https://github.com/swc-project/swc.git
synced 2024-12-23 05:32:09 +03:00
16 lines
455 B
TypeScript
16 lines
455 B
TypeScript
// Loaded from https://deno.land/x/discordeno@11.0.0-rc.2/src/types/codes/rpc_close_event_codes.ts
|
|
|
|
|
|
/** https://discord.com/developers/docs/topics/opcodes-and-status-codes#rpc */
|
|
export enum DiscordRpcCloseEventCodes {
|
|
InvalidClientId = 4000,
|
|
InvalidOrigin,
|
|
RateLimited,
|
|
TokenRevoked,
|
|
InvalidVersion,
|
|
InvalidEncoding,
|
|
}
|
|
|
|
export type RpcCloseEventCodes = DiscordRpcCloseEventCodes;
|
|
export const RpcCloseEventCodes = DiscordRpcCloseEventCodes;
|