Takiyo0 / Kazagumo

A Shoukaku wrapper that have built-in queue system and other feature
MIT License
55 stars 38 forks source link

New options request #23

Closed pasindu20 closed 2 months ago

pasindu20 commented 1 year ago

Add 24/7 system (on node ready it connect channels if player get destoryed it join user give channel) i already make this but i have some problem when i connect 2 nodes to bot and go to create player on 24/7 system it will connect both nodes some times after that when i play some thing it not give any audio out put

pasindu20 commented 1 year ago

Also now shoukaku has resume option i suggest add that too

pasindu20 commented 1 year ago

Add 24/7 system (on node ready it connect channels if player get destoryed it join user give channel) i already make this but i have some problem when i connect 2 nodes to bot and go to create player on 24/7 system it will connect both nodes some times after that when i play some thing it not give any audio out put

On normal use it work perfectly fine on 24/7 thing will give this error https://github.com/brblacky/WaveMusic/blob/main/src/events/Node/ready.js node ready reconnect to channel if player destoryed https://github.com/brblacky/WaveMusic/blob/main/src/events/Players/playerDestroy.js

i try this too it give same results

pasindu20 commented 1 year ago

Im pretty confused right now i evan added nodeName to playerCreate, bot connect the channel but when i got to search some thing it search on second lavalink server and added to play after that it give not sounds

pasindu20 commented 1 year ago

Is there anyway to filter result searching node

pasindu20 commented 1 year ago

<kazagumoPlayer>.search has leastusednode add to nodeName option

pasindu20 commented 1 year ago

Can you make if player connected on lavalink can give search result on leastusednode thing do randomly search on nodes and give result i think that the case giving this issue

Takiyo0 commented 1 year ago

hello, sorry for the very late respond.

Is there anyway to filter result searching node

did you mean like how do you get node with specific statement?

<kazagumoPlayer>.search has leastusednode add to nodeName option

I'll add nodeName option in search in the next update

Can you make if player connected on lavalink can give search result on leastusednode thing do randomly search on nodes and give result i think that the case giving this issue

does this mean the module should search track on the same node as the player is playing? I'm adding it in the next update

Takiyo0 commented 2 months ago

closing due to inactivity