Search
Preparing search index...
The search index is not available
@skyra/audio
Options
All
Public
Public/Protected
All
Inherited
Menu
@skyra/audio
Cluster
Class Cluster
Hierarchy
BaseCluster
Cluster
Index
Constructors
constructor
Properties
filter
nodes
send
Methods
connect
get
get
Node
has
sort
spawn
voice
Server
Update
voice
State
Update
Constructors
constructor
new
Cluster
(
options
:
ClusterOptions
, send
:
ClusterSend
)
:
Cluster
Parameters
options:
ClusterOptions
send:
ClusterSend
Returns
Cluster
Properties
filter
filter
:
ClusterFilter
Readonly
nodes
nodes
:
ClusterNode
[]
= []
send
send
:
ClusterSend
Methods
connect
connect
(
)
:
Promise
<
void
[]
>
Returns
Promise
<
void
[]
>
get
get
(
guildID
:
string
)
:
Player
<
ClusterNode
>
Parameters
guildID:
string
Returns
Player
<
ClusterNode
>
get
Node
get
Node
(
guildID
:
string
)
:
ClusterNode
Parameters
guildID:
string
Returns
ClusterNode
has
has
(
guildID
:
string
)
:
boolean
Parameters
guildID:
string
Returns
boolean
sort
sort
(
)
:
ClusterNode
[]
Returns
ClusterNode
[]
spawn
spawn
(
options
:
ClusterNodeOptions
)
:
ClusterNode
spawn
(
options
:
ClusterNodeOptions
[]
)
:
ClusterNode
[]
Parameters
options:
ClusterNodeOptions
Returns
ClusterNode
Parameters
options:
ClusterNodeOptions
[]
Returns
ClusterNode
[]
voice
Server
Update
voice
Server
Update
(
server
:
GatewayVoiceServerUpdateDispatchData
)
:
Promise
<
boolean
>
Parameters
server:
GatewayVoiceServerUpdateDispatchData
Returns
Promise
<
boolean
>
voice
State
Update
voice
State
Update
(
state
:
GatewayVoiceState
)
:
Promise
<
boolean
>
Parameters
state:
GatewayVoiceState
Returns
Promise
<
boolean
>
Exports
Cluster
constructor
filter
nodes
send
connect
get
get
Node
has
sort
spawn
voice
Server
Update
voice
State
Update
Generated using
TypeDoc