Interface: ManagerOptions
Represents a configuration object passed to the
Managerconstructor.
These options control core behavior such as node connections, autoplay logic, and plugin support.
Property Type Description Optional playNextOnEndboolean Automatically play the next track when the current one ends. Defaults to true.autoPlaySearchPlatformsAutoPlayPlatform[]Search platforms to use for autoplay, in priority order. Defaults to youtube.clientIdstring Discord application's client ID. clientNamestring Value for the Client-Nameheader sent to Lavalink nodes. Defaults to "Magmastream/version"clusterIdnumber Index of the cluster this manager belongs to. Defaults to 0.defaultSearchPlatformSearchPlatformDefault platform for searches. Defaults to ytsearch.lastFmApiKeystring API key used for last.fm-based Autoplay. Get it here. maxPreviousTracksnumber Maximum number of previous tracks to store. Defaults to 20.nodesNodeOptions[]Lavalink nodes to connect to. enabledPluginsPlugin[]List of plugins to enable. normalizeYouTubeTitlesboolean Normalize YouTube titles if author doesn’t match exactly. Defaults to false.trackPartialTrackPartial[]Track properties to keep; trackis always included.useNodeUseNodeOptionsStrategy for selecting Lavalink nodes (e.g. least players). Defaults to Least players. stateStorageStateStorageOptionsWhere queue state should be persisted (e.g. Memory, Redis, JSON). Defaults to Memory. sendfunction Function used to send data to Discord’s WebSocket gateway. enablePriorityModeboolean Whether to enable priority mode. Defaults to false.