Tomato6966 / erela.js

An up to date Lavalink Wrapper, which makes it easy to use Lavalink within your Discord Bot!
Apache License 2.0
50 stars 25 forks source link

Fixed a two properties of Manager #12

Closed EvilG-MC closed 1 year ago

EvilG-MC commented 1 year ago

Analyzing the erela.js of MenuDocs I found a pretty big change, which is the properties of player and nodes, which should be a collection, and not assigning nodes Collection as a property, this change allows the collection to return an array or whatever is needed from those objects.

As an example I use the nodes one to check the nodes and see which node is down and which is not, which I need to return the collection as an arraylist.