Open JackDotJS opened 3 years ago
This command is potentially dangerous without proper protocols in place.
validating json is easy, i even had a command specifically for doing that in an older version of the bot.
backing up the cfg sounds like a good idea, though the bot probably wouldnt be able to tell if its specifically the new config that causes a crash.
What i meant is if it crashes almost immediately on boot.
I don't know of any other good way to do that
well yeah obv, its just that theres no easy way for the bot to be 100% sure what causes the crash. checking if the process crashes after loading a new cfg is easy but im just saying its entirely possible for the crash to be caused by something else
allows you to upload or download the bot's config file. uploaded files will be loaded immediately, but will force the bot to perform a full restart.