Closed Legendary4226 closed 1 year ago
- refer this, its not an issue with our code Lavalink node has an error: Unexpected op "ready" with data: [object Object] freyacodes/Lavalink#852
The issue clearly states it's a client problem, the erela manager is unsupported.
The issue clearly states it's a client problem, the erela manager is unsupported.
we’re not erela, tell erela.js maintainers to fix it (surely they not gonna fix it). this repo need to do a rewrite to another wrapper for sure as erela no longer support
I got the problem fixed with the small change that I added case "ready": this.sessionId = payload.sessionId break; in "\node_modules\erela.js\dist\structures\Node.js" In line 238
Thank you @AndreP2211 ^^
@LewdHuTao Yeah it's not your code but now there is a "issue ticket" that show the problem for others. I have correctly setup everything and your code was "locked" to 'Lavalink not connected' (I updated to your V5, the issue persist !). Maybe handle this "bug" of erela.js in your code to determine if the node is working or not. Because without more explanations I was facing an error without any lines of file information, and the bot was just not working, not my fault, not yours, but this issue is real.
Finally, to be clear of what I did (because I HATE when I read a post that find the solution without telling the solution xD ).
I'm using the V5 of the bot (V4 have bugs I don't have the time to understand). I edited the file that Andre told me and everything works well ^^
Thank you @AndreP2211 ^^
@LewdHuTao Yeah it's not your code but now there is a "issue ticket" that show the problem for others. I have correctly setup everything and your code was "locked" to 'Lavalink not connected' (I updated to your V5, the issue persist !). Maybe handle this "bug" of erela.js in your code to determine if the node is working or not. Because without more explanations I was facing an error without any lines of file information, and the bot was just not working, not my fault, not yours, but this issue is real.
Finally, to be clear of what I did (because I HATE when I read a post that find the solution without telling the solution xD ).
I'm using the V5 of the bot (V4 have bugs I don't have the time to understand). I edited the file that Andre told me and everything works well ^^
everything is already handled to show whether the lavalink is working or not lol. also why would we fix bug that not from us?
"Maybe handle this "bug" of erela.js in your code to determine if the node is working or not." so you tell us to fix this issue by editing the node_modules file? fyi editing node_modules files is not something you should do
anyway "Node had an error: Unexpected op "ready" with data: [object Object]" this is not even a bug its just a warning message lol, everyone who use erela.js wrapper have this issue
I got the problem fixed with the small change that I added case "ready": this.sessionId = payload.sessionId break; in "\node_modules\erela.js\dist\structures\Node.js" In line 238
thanks!
I got the problem fixed with the small change that I added case "ready": this.sessionId = payload.sessionId break; in "\node_modules\erela.js\dist\structures\Node.js" In line 238
Thank you very much helped out very much!!!
Please describe the problem you are having in as much detail as possible:![image](https://user-images.githubusercontent.com/42912228/233850111-6e48ee6c-96b0-4aa7-9b1d-f0d9f41b6638.png)
Essentials:
I have this error, the lavalink is "connected" but have a "problem". My lavalink is fine and receive instructions from the bot (no errors from this side) :![image](https://user-images.githubusercontent.com/42912228/233850338-aa3b71b6-ea79-4dec-bcf7-82da4e80863e.png)
And the bot crashes just because he already sent a reply :
![image](https://user-images.githubusercontent.com/42912228/233850398-34591479-c7cc-47cf-ad1d-7d36d2ed24f9.png)
I don't know if i'm clear. I tried to just edit the code, delete all "❌ | Lavalink node is not connected" messages, but one persist and i can't find it.
Additional system info