SearchOptions
Source search and compatibility options.
You are reading the v8 docsDev
InterfaceTypeScript@discord-player/plugin-host
View sourcepackages/plugin-host/src/types.ts:10interface SearchOptionsSource search and compatibility options.
Properties
hostIdoptional
hostId?: stringExplicit standalone deployment ID; interpreted by DiscordPlayer, never a local provider ID.
searchEngineoptional
searchEngine?: stringLegacy type hint or ext:identifier targeting.
resolveCustomProtocolsoptional
resolveCustomProtocols?: booleanResolve registered custom prefixes before dispatch; defaults to true.
requestedByoptional
requestedBy?: TrackRequester | nullStructural requester.
requestOptionsoptional
requestOptions?: RequestOptionsLegacy local request options.
signaloptional
signal?: AbortSignalCaller cancellation.
blockExtractorsoptional
blockExtractors?: readonly string[]Additional disabled provider IDs.
limitoptional
limit?: numberMaximum number of results requested from a source plugin.