💿UnresolvedTrack

Represents a unresolved track, must be searched on lavalink before playing

Constructor

new UnresolvedTrack(vulkava, title, artist, duration, uri, source)

Property
Description
Type

vulkava

The Vulkava instance

title

The track title

author

The track artist(s)

duration

The track duration

Number (optional)

uri

The track uri

String (optional)

source

The source name

String (optional)

Properties

Name
Description
Type

artist

The track author

duration

The track duration

source

The track source name

title

The track title

uri

The track uri

requester

The track requester

any

Methods

build()

Builds the unresolved track into a Track instance.

Returns
Description

The track

setRequester()

Sets the track requester

Parameter
Description

requester

The requester object / id

Last updated