Discord Player

SearchOptions

Source search and compatibility options.

You are reading the v8 docsDev
InterfaceTypeScript@discord-player/plugin-host
View sourcepackages/plugin-host/src/types.ts:10
interface SearchOptions

Source search and compatibility options.

Properties

hostIdoptional

hostId?: string

Explicit standalone deployment ID; interpreted by DiscordPlayer, never a local provider ID.

searchEngineoptional

searchEngine?: string

Legacy type hint or ext:identifier targeting.

resolveCustomProtocolsoptional

resolveCustomProtocols?: boolean

Resolve registered custom prefixes before dispatch; defaults to true.

requestedByoptional

requestedBy?: TrackRequester | null

Structural requester.

requestOptionsoptional

requestOptions?: RequestOptions

Legacy local request options.

signaloptional

signal?: AbortSignal

Caller cancellation.

blockExtractorsoptional

blockExtractors?: readonly string[]

Additional disabled provider IDs.

limitoptional

limit?: number

Maximum number of results requested from a source plugin.

On this page