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?
2 Replies
Noxillio
Noxillio7mo ago
Okay it looks like it doesn't happen when the bot terminates to update, but literally just randomly. It's like the commands just drop out of the registry. I really need some help here, please.
Favna
Favna6mo ago
For starters, what is Pterodactyl? (Other than the ancient flight animal that is not a dinosaur despite popular confusion) Closing due to lack of author response. If the problem persists please create a new post.