Interface
WebSocketManagerOptions
Properties
| Name | Type | Description |
|---|---|---|
| buildStrategy? | BuildShardingStrategyFn | Build a custom sharding strategy. Defaults to SimpleShardingStrategy. Prefer WorkerShardingStrategy for CPU isolation of gateway parsing. |
| debug? | boolean | When false, shard debug events are not emitted. Default: true. |
| flags? | number | Identify flags (GatewayIdentifyFlags). |
| guildsPerShard? | number | Guilds per shard when shardCount: 'auto'. |
| identifyThrottler? | IIdentifyThrottler | Throttle IDENTIFY against Fluxer's per-IP limits. |
| ignoredEvents? | string[] | Identify ignored_events. |
| initialGuildId? | string | Identify initial_guild_id. |
| intents? | number | Legacy intents; Fluxer ignores — send 0. |
| presence? | GatewayPresenceUpdateData | |
| rest | WebSocketManagerRest | |
| sessionStore? | ISessionStore | Persist sessions for RESUME across restarts. Defaults to an in-memory store. |
| shardCount? | number | 'auto' | Total shard count, or 'auto' to derive from guild count. Fluxer's /gateway/bot currently always reports shards: 1, so 'auto' counts guilds via /users/@me/guilds when possible. |
| shardIds? | number[] | Explicit shard ids to connect. Defaults to 0..shardCount-1. |
| token | string | |
| version? | string | |
| WebSocket? | WebSocketConstructor |