Discord Player

createSourcePluginHost

Create an independent source host; no HTTP server is started.

You are reading the v8 docsDev
FunctionTypeScript@discord-player/plugin-host
View sourcepackages/plugin-host/src/host.ts:516
function createSourcePluginHost(options: SourcePluginHostOptions): SourcePluginHost

Create an independent source host; no HTTP server is started.

Parameters

NameTypeDescription
optionsSourcePluginHostOptions

Source and transport settings.

Returns

SourcePluginHost

Standalone runtime with direct and HTTP execution.