Closed EvilG-MC closed 10 months ago
As already explained in other issues: I dont allow search from manager, because if u search from a different node, than your player is. And you play from that searchresult, the player will fail. Therefore you can use node.search and node.lavaSearch.
To access a node without creating the player do manager.nodeManager.nodes.get("id")
I see, in my case it was for an autocomplete and I need only the search results, I'll try with that, thanks for answering!
In my autocomplete, i create the player.
You dont need to connect it before you search, so it really is zero delay.. Anyways
This may be strange, but there is a possibility that the
LavalinkManager class
has a method eitherLavalinkManager#search
orLavalinkManager#searchTrack
, exclusively to search for songs, without having to create/get the player, just get the song full result list.I really hope I can explain myself...
~I can't assign labels or anything, So I used the title haha~