I am hosting a discord bot, on glitch, but right now i have a free aws trial, still going on, so I want to find a way to temporarily turn off my node app and start it whenever I need
I think deleting your project and then restore it when you need is what you want. Also remove any of ping methods like uptimerobot if you are using it.
You could remove the code that starts the discord server.
An easy way would be to just remove the token, or comment out the line with it, and restart.
Have you tried Token renewal?