Lavacord
    Preparing search index...

    Interface LavalinkNodeOptions

    Lavalink Node Options

    interface LavalinkNodeOptions {
        host: string;
        id: string;
        password?: string;
        port?: string | number;
        reconnectInterval?: number;
        resumeTimeout?: number;
        resuming?: boolean;
        sessionId?: string;
        state?: unknown;
    }
    Index

    Properties

    host: string

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

    id: string

    The id of the LavalinkNode so Nodes are better organized

    password?: string

    The password of the lavalink node

    port?: string | number

    The port of the LavalinkNode

    reconnectInterval?: number

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

    resumeTimeout?: number

    Resume timeout

    resuming?: boolean

    If the node should attempt to resume if the sessionId is present on WS open/node ready

    sessionId?: string

    The previous sessionId to send to the LavalinkNode so you can resume properly

    state?: unknown

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