Search
Preparing search index...
The search index is not available
lavaclient
Options
All
Public
Public/Protected
All
Inherited
Menu
lavaclient
lib/cluster/Cluster
Cluster
Class Cluster
Modules
index
lib/
Player
lib/
Utils
lib/cluster/
Cluster
lib/cluster/
Cluster
Node
lib/node/
Connection
lib/node/
Node
lib/node/
Node
State
lib/node/REST
Cluster
constructor
nodes
send
Gateway
Payload
user
Id
ideal
Nodes
rest
connect
create
Player
destroy
Player
get
Node
handle
Voice
Update
Cluster
Events
Cluster
Node
Options
Cluster
Options
Hierarchy
TypedEmitter
<
ClusterEvents
>
Cluster
Implements
Manager
Index
Constructors
constructor
Properties
nodes
send
Gateway
Payload
user
Id
Accessors
ideal
Nodes
rest
Methods
connect
create
Player
destroy
Player
get
Node
handle
Voice
Update
Constructors
constructor
new
Cluster
(
options
:
ClusterOptions
)
:
Cluster
Parameters
options:
ClusterOptions
Returns
Cluster
Properties
Readonly
nodes
nodes
:
Map
<
String
,
ClusterNode
>
Readonly
send
Gateway
Payload
send
Gateway
Payload
:
SendGatewayPayload
Optional
user
Id
user
Id
:
string
Accessors
ideal
Nodes
get
idealNodes
(
)
:
ClusterNode
[]
Returns
ClusterNode
[]
rest
get
rest
(
)
:
REST
Returns
REST
Methods
connect
connect
(
user
?:
undefined
|
string
|
DiscordResource
)
:
void
Parameters
user:
undefined
|
string
|
DiscordResource
= ...
Returns
void
create
Player
create
Player
(
guild
:
string
|
DiscordResource
, nodeId
?:
string
)
:
Player
<
ClusterNode
>
Parameters
guild:
string
|
DiscordResource
Optional
nodeId:
string
Returns
Player
<
ClusterNode
>
destroy
Player
destroy
Player
(
guild
:
string
|
DiscordResource
)
:
boolean
Parameters
guild:
string
|
DiscordResource
Returns
boolean
get
Node
get
Node
(
guild
:
string
|
DiscordResource
)
:
null
|
ClusterNode
Parameters
guild:
string
|
DiscordResource
Returns
null
|
ClusterNode
handle
Voice
Update
handle
Voice
Update
(
update
:
VoiceStateUpdate
|
VoiceServerUpdate
)
:
void
Parameters
update:
VoiceStateUpdate
|
VoiceServerUpdate
Returns
void
Generated using
TypeDoc