Skip to main content
Module

x/lavadeno/mod.ts>Node

lavadeno is a simple, easy-to-use, and flexible lavalink client built on the Deno Runtime.
Latest
class Node
Re-export
import { Node } from "https://deno.land/x/lavadeno@3.3.0/mod.ts";

Constructors

new
Node(options: NodeOptions)

Properties

readonly
connected: boolean
readonly
connection: Connection<this>
readonly
penalties
readonly
players: Map<bigint, Player<this>>
readonly
rest: REST
sendGatewayPayload: SendGatewayPayload
state: NodeState
stats: Lavalink.StatsData
optional
userId: bigint

Methods

connect(userId?: Snowflake | undefined)
createPlayer(guildId: Snowflake): Player<this>
debug(
label: string,
message: string,
player?: Player<this>,
)
destroyPlayer(guildId: Snowflake): boolean
send(payload: Lavalink.OutgoingMessage, prioritize?: boolean): Promise<void>

Static Properties

DEFAULTS_STATS: Lavalink.StatsData