I’m trying to use Glitch to host a Discord bot and have managed to make my code work except… the code only runs if I’m using the editor, or looking at the console. If I close either, the script instantly stops working (and my bot goes offline). Visiting my project’s homepage does not seem to start the script either.
I don’t know if there’s something wrong in my code that causes it to only run when the console is open, or if I’m mistaken on the use of Glitch lol.
On another note, I’ve set up UptimeRobot as well and it seems unable to find my project (shows no uptime nor downtime).
My project’s name is sunshine-kachbot. Any help appreciated, thank you.