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.mdarrow-up-right

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" | stringarrow-up-right

The Response type

isPreview

Wether it's a preview track / not

author

The Author Name

-

url

A Url for smt (OLD)

-

uri

A Url for smt (OLD)

-

clientData

{ [key:string]: any }

Custom Client Data

  • custom

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