UNPKG

moonlink.js

Version:

Imagine a Music... πŸŒ™βœ¨ Welcome to Moonlink.js! We invite you to create your own music bot on Discord using Lavalink, in a simple and easy way! πŸŽΆπŸ€–

15 lines (14 loc) β€’ 493 B
import { INode } from "../typings/Interfaces"; import { Manager, Node, TSortTypeNode } from "../../index"; export declare class NodeManager { readonly manager: Manager; cache: Map<string | number, Node>; constructor(manager: Manager, nodes: INode[]); check(node: INode): void; init(): void; add(node: INode): void; remove(identifier: string): void; get(identifier: string | number): Node; get best(): Node; sortByUsage(sortType: TSortTypeNode): Node; }