PluginInfo
Plugin Info is an object, provided by LAVALINK PLUGINS and the CLIENT mixed
What are Lavalink Plugins, which exist and how do they work? Check out those reference informations: https://github.com/lavalink-devs/Lavalink/blob/master/PLUGINS.md
The PluginInfo is only filled out when you use a lavalink plugin, like lavasrc, lavasearch, ...
If you want you can override pluginInfo.clientData if you want to have some custom track informations!
Overview
Parameter | Type | Description | Of Which Plugin |
---|---|---|---|
type | "album" | "playlist" | "artist" | "recommendations" | string | The Response type | |
albumName | The Album Name | ||
albumArtUrl | The Album artwork | ||
artistUrl | The Artist URL | ||
artistArtUrl | The Artist artwork Url | ||
previewUrl | The Preview Track Url | ||
isPreview | Wether it's a preview track / not | ||
totalTracks | Amount of tracks | ||
identifier | The Identifier of smt | ||
artworkUrl | The Artwork Url | ||
author | The Author Name | - | |
url | A Url for smt (OLD) | - | |
uri | A Url for smt (OLD) | - | |
clientData | { [key:string]: any } | Custom Client Data |
|
Note that it can always have more data then the interface, if a plugin returns that.
Interface
clientData is optional, and can be declared by you manually afterwards savly, without messing things up (if you want)
Last updated