Search
Preparing search index...
The search index is not available
lavasfy - v2.3.0
Options
All
Public
Public/Protected
All
Inherited
Externals
Menu
lavasfy - v2.3.0
Node
Class Node
Hierarchy
Node
Index
Constructors
constructor
Properties
client
host
id
methods
password
port
resolver
secure
Methods
load
Constructors
constructor
new
Node
(
client
:
LavasfyClient
, options
:
NodeOptions
)
:
Node
Parameters
client:
LavasfyClient
options:
NodeOptions
Returns
Node
Properties
client
client
:
LavasfyClient
host
host
:
string
id
id
:
string
Private
Readonly
methods
methods
:
{
album
:
(
id
:
string
)
=>
Promise
<
LavalinkTrackResponse
<
UnresolvedTrack
|
LavalinkTrack
>
>
;
playlist
:
(
id
:
string
)
=>
Promise
<
LavalinkTrackResponse
<
UnresolvedTrack
|
LavalinkTrack
>
>
;
track
:
(
id
:
string
)
=>
Promise
<
LavalinkTrackResponse
<
UnresolvedTrack
|
LavalinkTrack
>
>
}
= ...
Type declaration
album
:
(
id
:
string
)
=>
Promise
<
LavalinkTrackResponse
<
UnresolvedTrack
|
LavalinkTrack
>
>
(
id
:
string
)
:
Promise
<
LavalinkTrackResponse
<
UnresolvedTrack
|
LavalinkTrack
>
>
Parameters
id:
string
Returns
Promise
<
LavalinkTrackResponse
<
UnresolvedTrack
|
LavalinkTrack
>
>
playlist
:
(
id
:
string
)
=>
Promise
<
LavalinkTrackResponse
<
UnresolvedTrack
|
LavalinkTrack
>
>
(
id
:
string
)
:
Promise
<
LavalinkTrackResponse
<
UnresolvedTrack
|
LavalinkTrack
>
>
Parameters
id:
string
Returns
Promise
<
LavalinkTrackResponse
<
UnresolvedTrack
|
LavalinkTrack
>
>
track
:
(
id
:
string
)
=>
Promise
<
LavalinkTrackResponse
<
UnresolvedTrack
|
LavalinkTrack
>
>
(
id
:
string
)
:
Promise
<
LavalinkTrackResponse
<
UnresolvedTrack
|
LavalinkTrack
>
>
Parameters
id:
string
Returns
Promise
<
LavalinkTrackResponse
<
UnresolvedTrack
|
LavalinkTrack
>
>
password
password
:
string
port
port
:
string
|
number
resolver
resolver
:
Resolver
= ...
secure
secure
:
boolean
Methods
load
load
(
url
:
string
)
:
Promise
<
LavalinkTrackResponse
<
UnresolvedTrack
|
LavalinkTrack
>
>
A method for loading Spotify URLs
Parameters
url:
string
Returns
Promise
<
LavalinkTrackResponse
<
UnresolvedTrack
|
LavalinkTrack
>
>
Lavalink-like /loadtracks response
Exports
Lavasfy
Client
Node
constructor
client
host
id
methods
password
port
resolver
secure
load
Resolver
Client
Options
Lavalink
Track
Lavalink
Track
Response
Node
Options
Spotify
Album
Spotify
Artist
Spotify
Playlist
Spotify
Track
Unresolved
Track
Generated using
TypeDoc
A method for loading Spotify URLs