Skip to main content

ruvyrias / Exports / LavalinkResponse

Interface: LavalinkResponse

Represents the response from Lavalink when loading tracks.

Table of contents

Properties

Properties

loadType

loadType: LoadType

The type of load operation performed: 'track', 'playlist', 'search', 'empty', or 'error'.

Defined in

src/Guild/Response.ts:11


playlistInfo

Optional playlistInfo: Object

Information about the loaded playlist if applicable.

Type declaration

NameTypeDescription
name?stringThe name of the playlist.
selectedTrack?numberThe index of the selected track within the playlist.

Defined in

src/Guild/Response.ts:13


tracks

tracks: Track[]

An array of tracks loaded in the response.

Defined in

src/Guild/Response.ts:20