import { Cluster } from "https://deno.land/x/lavadeno@3.3.0/mod.ts";
Constructors
new
Cluster(options: ClusterOptions)Properties
readonly
idealNodes: ClusterNode[]readonly
nodes: Map<string, ClusterNode>readonly
rest: RESTsendGatewayPayload: SendGatewayPayload
Methods
private
forwardEvents(node: ClusterNode)createPlayer(guildId: Snowflake, nodeId?: string): Player<ClusterNode>
destroyPlayer(guildId: Snowflake): boolean
handleVoiceUpdate(update: DiscordVoiceServer | DiscordVoiceState)
Static Methods
createNodes(cluster: Cluster, options: ClusterOptions): Map<string, ClusterNode>