lagging
When I run more than one bot the audio is lagging what are the possibilities for this problem and how to solve it?
23 Replies
national-goldOP•2y ago
@1Lucas1.apk
Do you use a lavalink for the bots or separate them?
national-goldOP•2y ago
I did not understand the question well, but I think the answer to the question is Lavalink
It's just a question, like, do you use 1 lavalink for all bots, or do you use different ones for each one?
national-goldOP•2y ago
1 for all bot's
because i run like 30 bot in one project so i can't make for every bot a lavalink server but i can create like 5 lavalink server that will help fix the problem
@1Lucas1.apk
Hello
national-goldOP•2y ago
Hi
All good?
Tell your question
national-goldOP•2y ago
-
Tried adding other lavalinks to test if it works better
I don't know if lavalink has a request timeout
If it doesn't work, I'll make a proposal, let's say, you give me access to your project, and I'll do some tests on moonlink.js to really see what the error is.
I can even optimize parts of your code to work in conjunction with moonlink.js
national-goldOP•2y ago
I appreciate your help. I will try the solution
@1Lucas1.apk why when i use stop it's play random song
I also realized that this is really happening, I'm going to fix it and release a new version
And it's also not destroying the player when autoPlay is active
national-goldOP•2y ago
Is there any version that does not have this problem?
Just disable autoPlay
national-goldOP•2y ago
?

GG @Ghos't, you just advanced to level 5!
Is the package up to date?
national-goldOP•2y ago
2.13.65
Just remove the type parameter, delete this line
national-goldOP•2y ago
i change it from autoplay to autoPlay and it's now work fine
It wasn't supposed to work if there was nothing, I think I messed up some rules
national-goldOP•2y ago
Thanks for helping me
You are welcome
I forgot to solve this problem
LOL, sorry