Exit process without glitch turning it on another time

I have a discord bot that if I use specificly a command it must shutdown itself. The problem is that glitch automaticlly puts it on another time. Is there any way to put off temporaly a project using process.exit() or similars to shutdown a project without an automatic reload from glitch?

As far as I know, no. I mean, you could probably use fs to add an error to your file running it.

1 Like
$ curl -X POST "https://api.glitch.com/v1/projects/${PROJECT_ID}/stop" -H "Authorization: ${persistentToken}"
3 Likes