swc/crates/swc_bundler/tests/.cache/deno/8aa9eac330cbe14ad066e4fc8007c46a0d95e5fd.ts
2021-11-09 20:42:49 +09:00

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;