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
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-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-azureOPā¢2y ago
GitHub
GitHub - Vexify7311/LunioTest
Contribute to Vexify7311/LunioTest development by creating an account on GitHub.
alive-azureOPā¢2y ago
Also when i start the bot now (i update the lavalink.jar) i get this error:
sorry, the posts in the mobile version are a bit buggy
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
GG @notvexi, you just advanced to level 1!
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-azureOPā¢2y ago
Okay
Its still messy btw
I originally wanted to recreate Hydra bot
It would have the most complete error
Is your lavalink up to date?
alive-azureOPā¢2y ago
i downloaded the one from here: https://github.com/freyacodes/Lavalink/releases/tag/3.7.5
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-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-azureOPā¢2y ago
xD
every time I look it gets more complicated
your Bot is totally focused on erela.js the whole structure
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
I look at the files I change one I find a part in another
alive-azureOPā¢2y ago
xD
This guy thought how to complicate an entire bot
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
š
My God lol
I like doing and testing
One of the ways I have to know if it's catching or not
alive-azureOPā¢2y ago
eh what exactly do you mean with "if its catching or not"
there Jesus lol
I didn't find where it merges main class with manager property
alive-azureOPā¢2y ago
and is it still a challenge for you? because i would really like to migrate to moonlink
GG @notvexi, you just advanced to level 2!
bro, I was trying, but the base of the bot is very complicated
alive-azureOPā¢2y ago
ye i will get into it myself in a few days
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

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
Little brother, I'm busy when I'm free I make a pull request with the changes I made
alive-azureOPā¢2y ago
no worries
I changed repository tho
here is the new one: https://github.com/Vexify4103/lunio2
To make a pull request for this repository, right?
alive-azureOPā¢2y ago
yes
@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.
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-azureOPā¢2y ago
GitHub
GitHub - 1Lucas1apk/LunioTest
Contribute to 1Lucas1apk/LunioTest development by creating an account on GitHub.
alive-azureOPā¢2y ago
cause i will download that now xD
Yes, and what I did, after I finished playing the other day I got sick so I didn't finish doing the rest
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-azureOPā¢2y ago
š

alive-azureOPā¢2y ago
well you changed not so much i noticed KEKW
GG @notvexi, you just advanced to level 3!
I made changes until play works