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:53interface SourceQuerySearch request independent of Discord client libraries.
Properties
query
query: stringSearch text or source location.
providerHintoptional
providerHint?: stringGeneric 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?: stringExplicit protocol prefix when present.