The script automatically stops working when you leave the page. PY

Hello, I have a problem with the fact that I cannot keep the discord bot script active. I suspect it may be a resource issue, but it’s normal.

When I leave the site despite being pinged from UpTimeRobot it deactivates but stays active on Discord.

Does anyone have a suggestion on how to fix this?

And sorry if this turns out to be a very stupid question…

This is an intentional change, Replit was losing a lot of money from free hosting, and now it no longer exists. If you’d like your code to keep running, you’ll need to deploy it.

2 Likes