How do i host on node.js and where do i input the code and what code?

Ok sorry im so new here, this might annoy you all but im really struggling, this discord music bot needs to stay online all the time but i dont know what code to put and where to put it on index.js as it doesnt work (host on uptimerobot??)

Someone please fork this and give me the code and where to put it please!!!

Or can someone just reply with the answers i have below???

also i think you guys can see the token and all, may someone tell me how to make it so that its hidden without any error on node.js??? THANKS!!

Very much appreciated!

You are viewing a single comment. View All
Answered by 19wintersp [earned 5 cycles]
View Answer

@Lumiscnt You're very nearly there. The next thing you need to do is delete "config.json". After you've done that, you will still need to modify your ".env". As I said in my original post, you will need to add all of the things which were originally in "config.json" to ".env" in the "<key>=<value>" format; that is "PRUNING", "LOCALE", "STAY_TIME" and "DEFAULT_VOLUME", in addition to the ones you've already added. The ellipsis was a placeholder where I intended for you to fill these in.