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
Zarlo
ZarloOP3y ago
@1Lucas1.apk
1Lucas1.apk
1Lucas1.apk3y ago
Do you use a lavalink for the bots or separate them?
Zarlo
ZarloOP3y ago
I did not understand the question well, but I think the answer to the question is Lavalink
1Lucas1.apk
1Lucas1.apk3y ago
It's just a question, like, do you use 1 lavalink for all bots, or do you use different ones for each one?
Zarlo
ZarloOP3y 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
1Lucas1.apk
1Lucas1.apk3y ago
Hello
Zarlo
ZarloOP3y ago
Hi
1Lucas1.apk
1Lucas1.apk3y ago
All good? Tell your question
Zarlo
ZarloOP3y ago
-
1Lucas1.apk
1Lucas1.apk3y 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
Zarlo
ZarloOP3y ago
I appreciate your help. I will try the solution @1Lucas1.apk why when i use stop it's play random song
1Lucas1.apk
1Lucas1.apk3y ago
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
Zarlo
ZarloOP3y ago
Is there any version that does not have this problem?
1Lucas1.apk
1Lucas1.apk3y ago
Just disable autoPlay
Zarlo
ZarloOP3y ago
?
No description
MEE6
MEE63y ago
GG @Ghos't, you just advanced to level 5!
1Lucas1.apk
1Lucas1.apk3y ago
Is the package up to date?
Zarlo
ZarloOP3y ago
2.13.65
1Lucas1.apk
1Lucas1.apk3y ago
Just remove the type parameter, delete this line
Zarlo
ZarloOP3y ago
i change it from autoplay to autoPlay and it's now work fine
1Lucas1.apk
1Lucas1.apk3y ago
It wasn't supposed to work if there was nothing, I think I messed up some rules
Zarlo
ZarloOP3y ago
Thanks for helping me
1Lucas1.apk
1Lucas1.apk3y ago
You are welcome I forgot to solve this problem LOL, sorry

Did you find this page helpful?