API v6 - DeprecatedEnumerationsGatewayCloseCodesVersion: 0.37.17On this pageGatewayCloseCodes https://discord.com/developers/docs/topics/opcodes-and-status-codes#gateway-gateway-close-event-codes@deprecatedGateway v6 is deprecated and the types will not receive further updates, please update to v8.Index Enumeration MembersAlreadyAuthenticatedAuthenticationFailedDecodeErrorDisallowedIntentsInvalidAPIVersionInvalidIntentsInvalidSeqInvalidShardNotAuthenticatedRateLimitedSessionTimedOutShardingRequiredUnknownErrorUnknownOpCodeEnumeration Members AlreadyAuthenticatedAlreadyAuthenticated: 4005 = 4005AuthenticationFailedAuthenticationFailed: 4004 = 4004DecodeErrorDecodeError: 4002 = 4002DisallowedIntentsDisallowedIntents: 4014 = 4014InvalidAPIVersionInvalidAPIVersion: 4012 = 4012InvalidIntentsInvalidIntents: 4013 = 4013InvalidSeqInvalidSeq: 4007 = 4007InvalidShardInvalidShard: 4010 = 4010NotAuthenticatedNotAuthenticated: 4003 = 4003RateLimitedRateLimited: 4008 = 4008SessionTimedOutSessionTimedOut: 4009 = 4009ShardingRequiredShardingRequired: 4011 = 4011UnknownErrorUnknownError: 4000 = 4000UnknownOpCodeUnknownOpCode: 4001 = 4001
https://discord.com/developers/docs/topics/opcodes-and-status-codes#gateway-gateway-close-event-codes
Gateway v6 is deprecated and the types will not receive further updates, please update to v8.