Skip to content

FATAL_CLOSE_CODES

const FATAL_CLOSE_CODES: readonly number[]

Defined in: packages/ws/src/reconnect.ts:26

Close codes that no reconnect can recover from: bad token, bad shard configuration, bad API version, or intents the application is not approved for. Retrying these hammers Discord with a request that cannot succeed.