enum GatewayCloseCodesDeprecatedDeprecatedGateway v6 is deprecated and the types will not receive further updates, please update to v8. import { GatewayCloseCodes } from "https://deno.land/x/discord_api_types@0.37.81/v6.ts"; https://discord.com/developers/docs/topics/opcodes-and-status-codes#gateway-gateway-close-event-codes MembersAlreadyAuthenticatedAuthenticationFailedDecodeErrorDisallowedIntentsInvalidAPIVersionInvalidIntentsInvalidSeq = 4007InvalidShardNotAuthenticatedRateLimitedSessionTimedOutShardingRequiredUnknownError = 4000UnknownOpCode