Discolink
GitHub
Preparing search index...
Plugins
LavaLyrics
Plugin
Class Plugin
Hierarchy (
View Summary
)
PlayerPlugin
<
{
lyricsFound
:
[
queue
:
Queue
,
lyrics
:
Lyrics
]
;
lyricsNotFound
:
[
queue
:
Queue
]
;
lyricsLine
:
[
queue
:
Queue
,
line
:
LyricsLine
,
index
:
number
,
skipped
:
boolean
,
]
;
}
,
>
Plugin
Index
Constructors
constructor
Properties
name
skip
Track
Source
_
Methods
init
fetch
fetch
Current
subscribe
unsubscribe
Constructors
constructor
new
Plugin
(
options
?:
PluginOptions
)
:
Plugin
Parameters
Optional
options
:
PluginOptions
Returns
Plugin
Properties
Readonly
name
name
:
"lavalyrics"
skip
Track
Source
skipTrackSource
:
boolean
Protected
_
_
:
{
lyricsFound
:
[
queue
:
Queue
<
QueueContext
>
,
lyrics
:
Lyrics
<
CommonPluginInfo
>
,
]
;
lyricsNotFound
:
[
queue
:
Queue
<
QueueContext
>
]
;
lyricsLine
:
[
queue
:
Queue
<
QueueContext
>
,
line
:
LyricsLine
<
CommonPluginInfo
>
,
index
:
number
,
skipped
:
boolean
,
]
;
}
Methods
init
init
(
player
:
Player
)
:
void
Parameters
player
:
Player
Returns
void
fetch
fetch
(
track
:
string
,
node
:
string
,
skipTrackSource
?:
boolean
,
)
:
Promise
<
Lyrics
<
CommonPluginInfo
>
|
null
>
Parameters
track
:
string
node
:
string
Optional
skipTrackSource
:
boolean
Returns
Promise
<
Lyrics
<
CommonPluginInfo
>
|
null
>
fetch
Current
fetchCurrent
(
guildId
:
string
,
skipTrackSource
?:
boolean
,
)
:
Promise
<
Lyrics
<
CommonPluginInfo
>
|
null
>
Parameters
guildId
:
string
Optional
skipTrackSource
:
boolean
Returns
Promise
<
Lyrics
<
CommonPluginInfo
>
|
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
skip
Track
Source
_
Methods
init
fetch
fetch
Current
subscribe
unsubscribe
GitHub
Discolink
Loading...