Discord Player

SourceQuery

Search request independent of Discord client libraries.

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

Search request independent of Discord client libraries.

Properties

query

query: string

Search text or source location.

providerHintoptional

providerHint?: string

Generic hint when searchEngine does not select a registered provider.

optionsoptional

options?: Omit<SearchOptions, "searchEngine" | "hostId" | "signal" | "resolveCustomProtocols">

Portable search hints and local cancellation.

protocoloptional

protocol?: string

Explicit protocol prefix when present.

On this page