Interface

WebSocketShardOptions

Properties

NameTypeDescription
debug?booleanWhen false, debug events are suppressed. Default: true.
e2eeCapable?booleanIdentify properties.e2ee_capable. Defaults to true (needed for E2EE voice). Set false to advertise that this session is not E2EE capable.
flags?numberIdentify flags.
ignoredEvents?string[]Identify ignored_events.
initialGuildId?stringIdentify initial_guild_id.
intents?numberLegacy intents. Fluxer has no intents; this is not sent on Identify.
numShardsnumber
presence?GatewayPresenceUpdateData
sessionStore?ISessionStoreOptional persistent session store for RESUME across restarts.
shardIdnumber
tokenstring
urlstring
version?stringGateway API version (e.g. "1"). Defaults to "1".
WebSocket?WebSocketConstructor