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
playlistInfo
• Optional
playlistInfo: Object
Information about the loaded playlist if applicable.
Type declaration
Name | Type | Description |
---|---|---|
name? | string | The name of the playlist. |
selectedTrack? | number | The index of the selected track within the playlist. |
Defined in
tracks
• tracks: Track
[]
An array of tracks loaded in the response.