the number of elements in the Map.
A map holding this manager's intrinsic data
Whether at least one node is ready
Returns a specified element from the Map object. If the value that is associated to the provided key is an object, then you will get a reference to that object and any change made to that object will effectively modify it inside the Map.
Returns the element associated with the specified key. If no element is associated with the specified key, undefined is returned.
boolean indicating whether an element with the specified key exists or not.
Returns an iterable of keys in the map
Returns an iterable of values in the map
Returns an iterable of key, value pairs for every entry in the map.
Returns a boolean based on state comparison
Name of the node
Expected state of the node
Deletes a disconnected node
Name of the node
Returns a sorted list of nodes based on weights
Factors to prioritize based on weights (0-1 each)
Connect to all nodes
Disconnects all nodes or a specific node if a name is provided
Optionalname: stringName of the node
Retrieves lavalink info of a node
Name of the node
Optionalforce: booleanWhether to skip cache and make a request
A manager class handling nodes with useful members