Node.Js discord bot is going offline until endpoint is refreshed

The discord bot I am hosting on this site will disconnect unless the endpoint is accessed through the browser. Does anyone know what I can do to fix this?

Hi there,

Thanks for reaching out.

Web Service Free plans will spin down after 15 minutes of inactivity (no requests), more here: Free Plans

If you don’t want it to spin down, you’ll need a paid plan. As an aside, bots are usually more suited to Background Workers.

Hope that helps