Plugins/Sharding/InterfacesShardingPluginOptionsExtends Omit<GatewayPluginOptions, "shard"> Properties PropertyTypeDescriptionInherited from eventFilter?(event) => booleanThis is a custom function you can provide that will filter events. If this function is present, the plugin will only process events that return true.Omit.eventFilter intentsnumberThe intents to use for the clientOmit.intents maxConcurrency?numberMaximum number of shards to spawn concurrently- reconnect?objectThe reconnect optionsOmit.reconnectreconnect.baseDelay?numberThe base delay between reconnect attempts-reconnect.maxAttempts?numberThe maximum number of reconnect attempts-reconnect.maxDelay?numberThe maximum delay between reconnect attempts after it scales exponentially- shardIds?number[]Specific shard IDs to spawn, if not provided will spawn all shards- totalShards?numberIf not provided, will use Discord's recommended amount- url?stringThe URL of the gateway to connect toOmit.urlEdit on GitHubShardingPluginPrevious Page