Skip to content

Adapter

Type Parameter Default type
Target VoiceChannelTarget

createEngine(settings): Engine

The built-in engine, used unless a plugin carries one.

Parameter Type
settings EngineSettings

Engine


createVoiceSession(target, options): Promise<VoiceSession>

Parameter Type
target VoiceTarget
options VoiceSessionOptions

Promise<VoiceSession>


normalizeTarget(target): VoiceTarget

Pure synchronous conversion. A throw rejects the caller with INVALID_ARGUMENT.

Parameter Type
target Target

VoiceTarget