You are reading the documentation for the next version of discord.js. Documentation for v13/v14+ has been moved to old.discordjs.dev

BootstrapOptions

export declare interface BootstrapOptions
export declare interface BootstrapOptions
Options for bootstrapping the worker
forwardEvents?:WebSocketShardEvents[]
Shard events to just arbitrarily forward to the parent thread for the manager to emit Note: By default, this will include ALL events you most likely want to handle dispatch within the worker itself
shardCallback(shard):Awaitable<void>
Function to call when a shard is created for additional setup
NameTypeOptionalDescription
shardWebSocketShardNoNone