Application Commands are not being registered when bot restarts.
I have an auto-update mechanism built into my bot so I don't have to reupload to the host every time I push a new build, and it appears that whenever the app restarts (using
process.exit() and then Pterodactyl starts it back up), my application commands are not re-registered. There is no error in console indicating an issue and restarting forcefully (using Restart button in Pterodactyl) does not cause the issue to occur. Would anyone have some pointers for me to help figure out why this is happening?