Track

Builds the track data received from the Lavalink node into something easily usable. Kinda like getting the ultimate supply drop in an older Call of Duty.

Constructor

new Track(data: TrackData, requester: unknown)

Properties

.track

The Base64 encoded track.

Type: String

.identifier

The identifier of the track.

Type: String

.artworkUrl

The URL of the track's artwork.

Type: String

.author

The author of the track.

Type: String

.isrc

The ISRC of the track.

Type: String

.title

The title of the track.

Type: String

.length

The length of the track in milliseconds.

Type: Number

.uri

The URL of the track.

Type: String

.isSeekable

Indicates if the track is seekable.

Type: Boolean

.isStream

Indicates if the track is a stream.

Type: Boolean

.sourceName

The name of the source providing the track.

Type: String

.requester

The requester of the track.

Type: unknown