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

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
19wintersp

@Lumiscnt I'll repeat two things:

Add everything in "config.json" in that format.

You need to add every part of "config.json" in the same format as the rest of the ".env" file.

Modify "util/EvobotUtil.js" so that lines 12-18 are replaced with:

You need to edit the file "util/EvobotUtil.js" as aforementioned.