Discolink
GitHub
Preparing search index...
Plugins
LavaLyrics
Plugin
Class Plugin
Represents the structure of a plugin
Implements
PlayerPlugin
Index
Constructors
constructor
Properties
name
event
Map
skip
Track
Source
Methods
init
fetch
fetch
Current
subscribe
unsubscribe
Constructors
constructor
new
Plugin
(
options
?:
PluginOptions
)
:
Plugin
Parameters
Optional
options
:
PluginOptions
Returns
Plugin
Properties
name
name
:
"lavalyrics"
= ...
event
Map
eventMap
:
EventMap
skip
Track
Source
skipTrackSource
:
boolean
Methods
init
init
(
player
:
Player
)
:
void
Parameters
player
:
Player
Returns
void
fetch
fetch
(
track
:
string
,
node
:
string
,
skipTrackSource
?:
boolean
,
)
:
Promise
<
Lyrics
<
EmptyObject
>
|
null
>
Parameters
track
:
string
node
:
string
Optional
skipTrackSource
:
boolean
Returns
Promise
<
Lyrics
<
EmptyObject
>
|
null
>
fetch
Current
fetchCurrent
(
guildId
:
string
,
skipTrackSource
?:
boolean
,
)
:
Promise
<
Lyrics
<
EmptyObject
>
|
null
>
Parameters
guildId
:
string
Optional
skipTrackSource
:
boolean
Returns
Promise
<
Lyrics
<
EmptyObject
>
|
null
>
subscribe
subscribe
(
guildId
:
string
,
skipTrackSource
?:
boolean
)
:
Promise
<
boolean
>
Parameters
guildId
:
string
Optional
skipTrackSource
:
boolean
Returns
Promise
<
boolean
>
unsubscribe
unsubscribe
(
guildId
:
string
)
:
Promise
<
boolean
>
Parameters
guildId
:
string
Returns
Promise
<
boolean
>
Settings
Member Visibility
Protected
Inherited
Theme
OS
Light
Dark
On This Page
Constructors
constructor
Properties
name
event
Map
skip
Track
Source
Methods
init
fetch
fetch
Current
subscribe
unsubscribe
GitHub
Discolink
Loading...
Represents the structure of a plugin