LavalinkResponse
ruvyrias / LavalinkResponse
Interface: LavalinkResponse
Defined in: types/Response.ts:10
Represents the response from Lavalink when loading tracks.
Properties
loadType
loadType:
LoadType
Defined in: types/Response.ts:12
The type of load operation performed: 'track', 'playlist', 'search', 'empty', or 'error'.
playlistInfo?
optionalplaylistInfo:object
Defined in: types/Response.ts:14
Information about the loaded playlist if applicable.
name?
optionalname:string
The name of the playlist.
selectedTrack?
optionalselectedTrack:number
The index of the selected track within the playlist.
tracks
tracks:
Track[]
Defined in: types/Response.ts:21
An array of tracks loaded in the response.