Skip to main content

Class: Subscription

DBM.Audio.Subscription

Constructors

constructor

new Subscription(voiceConnection)

Parameters

NameType
voiceConnectionany

Methods

enqueue

enqueue(track, beginning?): void

Parameters

NameTypeDefault value
trackanyundefined
beginningbooleanfalse

Returns

void


processQueue

processQueue(): any

Returns

any


stop

stop(): void

Returns

void