How hard is it to upgrade from erela.js to here?

Hello, how hard is it to upgrade from erela.js to here? Since erela.js is not being mantained anymor
43 Replies
1Lucas1.apk
1Lucas1.apkā€¢2y ago
Hello, it's not very difficult after most of Moonlink's functions some are similar to erela.js If your project is open source, I can even help you change the codes for moonlink.js āœØ
alive-azure
alive-azureOPā€¢2y ago
Well it is not currently and i dont know how to make it open source yet. I have many variables / ids and tokens which are still stored in a config.js file I will make a public one right now! Since it is kinda hard. I am using structures etc.
alive-azure
alive-azureOPā€¢2y ago
GitHub
GitHub - Vexify7311/LunioTest
Contribute to Vexify7311/LunioTest development by creating an account on GitHub.
alive-azure
alive-azureOPā€¢2y ago
Also when i start the bot now (i update the lavalink.jar) i get this error:
[01:21:58]: ERROR Lavalink node: '0.0.0.0', has error: 'Unexpected op "ready" with data: [object Object]'.
[01:21:58]: ERROR Lavalink node: '0.0.0.0', has error: 'Unexpected op "ready" with data: [object Object]'.
1Lucas1.apk
1Lucas1.apkā€¢2y ago
sorry, the posts in the mobile version are a bit buggy
alive-azure
alive-azureOPā€¢2y ago
What do you mean? Are you on Discord Mobile rn? If so just take ur time. No need to rush. Can fix my problem somewhen else
MEE6
MEE6ā€¢2y ago
GG @notvexi, you just advanced to level 1!
1Lucas1.apk
1Lucas1.apkā€¢2y ago
It's not that, it's just that posts aren't opening on my phone, the app just stops, I think because I'm on the aplha I made a fork, I'm changing where there is erela.js
alive-azure
alive-azureOPā€¢2y ago
Okay Its still messy btw I originally wanted to recreate Hydra bot
1Lucas1.apk
1Lucas1.apkā€¢2y ago
It would have the most complete error Is your lavalink up to date?
alive-azure
alive-azureOPā€¢2y ago
GitHub
Release 3.7.5 Ā· freyacodes/Lavalink
Fix endTime in Player Update endpoint only applying when playing a new track Fix errors when doing multiple session resumes Update lavaplayer to 1.4.0 see here for more info Note Lavalink Docker ...
alive-azure
alive-azureOPā€¢2y ago
And i found out about moonlink.js in here: https://github.com/freyacodes/Lavalink Because I was looking for stable nodejs version which is not being archived or not mantained anymore
GitHub
GitHub - freyacodes/Lavalink: Standalone audio sending node based o...
Standalone audio sending node based on Lavaplayer. - GitHub - freyacodes/Lavalink: Standalone audio sending node based on Lavaplayer.
alive-azure
alive-azureOPā€¢2y ago
xD
1Lucas1.apk
1Lucas1.apkā€¢2y ago
every time I look it gets more complicated your Bot is totally focused on erela.js the whole structure
alive-azure
alive-azureOPā€¢2y ago
Tbh I didnt start from scratch. I used this as a base and modified most of it: https://github.com/Spiderjockey02/Discord-Bot
GitHub
GitHub - Spiderjockey02/Discord-Bot: A discord bot that can play mu...
A discord bot that can play music, moderate, log events and more - GitHub - Spiderjockey02/Discord-Bot: A discord bot that can play music, moderate, log events and more
1Lucas1.apk
1Lucas1.apkā€¢2y ago
I look at the files I change one I find a part in another
alive-azure
alive-azureOPā€¢2y ago
xD
1Lucas1.apk
1Lucas1.apkā€¢2y ago
This guy thought how to complicate an entire bot
alive-azure
alive-azureOPā€¢2y ago
ye i dont like their support either you will recognize most of the stuff and how its organized from the original repo but i feel like I changed SOOOO much myself to just make my musicbot šŸ˜‚
1Lucas1.apk
1Lucas1.apkā€¢2y ago
My God lol I like doing and testing One of the ways I have to know if it's catching or not
alive-azure
alive-azureOPā€¢2y ago
eh what exactly do you mean with "if its catching or not"
1Lucas1.apk
1Lucas1.apkā€¢2y ago
there Jesus lol I didn't find where it merges main class with manager property
alive-azure
alive-azureOPā€¢2y ago
and is it still a challenge for you? because i would really like to migrate to moonlink
MEE6
MEE6ā€¢2y ago
GG @notvexi, you just advanced to level 2!
1Lucas1.apk
1Lucas1.apkā€¢2y ago
bro, I was trying, but the base of the bot is very complicated
alive-azure
alive-azureOPā€¢2y ago
ye i will get into it myself in a few days
1Lucas1.apk
1Lucas1.apkā€¢2y ago
get it, but I can't test it right, I'm going to create a mangodb database @notvexi being able to play it works, after changing all the structure that was damaged
1Lucas1.apk
1Lucas1.apkā€¢2y ago
No description
alive-azure
alive-azureOPā€¢2y ago
Any updates on how its going so far? @1Lucas1.apk could you at least share what you have done so far? So I can see what you changed and learn from that, because right now I dont know where to begin updating my code from erela to moonlink
1Lucas1.apk
1Lucas1.apkā€¢2y ago
Little brother, I'm busy when I'm free I make a pull request with the changes I made
alive-azure
alive-azureOPā€¢2y ago
no worries I changed repository tho here is the new one: https://github.com/Vexify4103/lunio2
1Lucas1.apk
1Lucas1.apkā€¢2y ago
To make a pull request for this repository, right?
alive-azure
alive-azureOPā€¢2y ago
yes
1Lucas1.apk
1Lucas1.apkā€¢2y ago
@notvexi I can't create a pull request https://github.com/1Lucas1apk/LunioTest But the repo is up to date, then you download the files and when you download it, let me know, if you want to look at what was changed, etc.
GitHub
GitHub - 1Lucas1apk/LunioTest
Contribute to 1Lucas1apk/LunioTest development by creating an account on GitHub.
1Lucas1.apk
1Lucas1.apkā€¢2y ago
When I download I delete the repo There are some console.logs in the middle of the code that I didn't remove, and some things that I put as comments that were polluting the console with information that wasn't necessary
alive-azure
alive-azureOPā€¢2y ago
So https://github.com/1Lucas1apk/LunioTest is what u changed right??
GitHub
GitHub - 1Lucas1apk/LunioTest
Contribute to 1Lucas1apk/LunioTest development by creating an account on GitHub.
alive-azure
alive-azureOPā€¢2y ago
cause i will download that now xD
1Lucas1.apk
1Lucas1.apkā€¢2y ago
Yes, and what I did, after I finished playing the other day I got sick so I didn't finish doing the rest
alive-azure
alive-azureOPā€¢2y ago
alright, hope you feel better (: You can still update and keep making changes to here if you want: https://github.com/1Lucas1apk/LunioTest I will bookmark this repo and look over it once in a while. I just downloaded the latest you gave me and i will look into it what you changed so that I can learn on what you did
alive-azure
alive-azureOPā€¢2y ago
šŸ˜‚
No description
alive-azure
alive-azureOPā€¢2y ago
well you changed not so much i noticed KEKW
MEE6
MEE6ā€¢2y ago
GG @notvexi, you just advanced to level 3!
1Lucas1.apk
1Lucas1.apkā€¢2y ago
I made changes until play works

Did you find this page helpful?