Lavacord
    Preparing search index...

    Class LavalinkNode

    The class for handling everything to do with connecting to Lavalink

    Index

    Constructors

    Properties

    host: string = "localhost"

    The host of the LavalinkNode, this could be a ip or domain.

    id: string

    The id of the LavalinkNode so Nodes are better organized

    manager: Manager

    The manager that created the LavalinkNode

    password: string = "youshallnotpass"

    The password of the lavalink node

    port: string | number = 2333

    The port of the LavalinkNode

    reconnectInterval: number = 10000

    The interval that the node will try to reconnect to lavalink at in milliseconds

    resumeTimeout: number = 120

    The resume timeout

    resuming: boolean = false

    If the LavalinkNode should allow resuming

    sessionId?: string

    The session ID sent by LavaLink on connect. Used for some REST routes

    state?: unknown

    Extra info attached to your node, not required and is not sent to lavalink, purely for you.

    stats: Stats

    The statistics of the LavalinkNode

    version?: number

    The major version of the LavaLink node as indicated by /version

    ws: null | WebSocket = null

    The WebSocket instance for this LavalinkNode

    Accessors

    Methods