How to call .jar from .js
I am attempting to host a bot jar on repl.it. I have made an express webserver, and the run is set to launch it, I simply need help on getting the webserver code to call the .jar when it is ready. (I am a very new coder, so sorry if this is obvious.)
I'd imagine if the bot was provided to you in a .jar that it starts its own server, meaning you wouldn't need to set one up. The setup page for this bot doesn't mention anything about setting one up, so I'd recommend not having one unless you plan on using UptimeRobot.
I was able to start the jar with the typical
java -jar JMusicBot-0.3.4.jar, so give that a try.