Bot is not working

I am hosting a Discord Bot on Uptimerobot. The bot only works when I have the page open to editing the code. Is this Glitch’s problem or Uptimerobot’s. This has been hard to figure out. And the Discord bot is on one server.

Hello @chessebuilderman,

Can you send us a screenshot of your uptime robot configuration!

I have tried using forever.But that I still need like 3 commands to get it to work.

The url has to be the projects web link that you get in the url when you click “Shown” on your project!

Sorry for being away, I have been busy. I can’t do that, because when I do it doesn’t work.

@chessebuilderman Change what you put in the URL field to https://project_name.glitch.me
(replace project_name with the name of your project)

@Advil I have done that and It doesn’t run.

Which project is it?

Hello,

first of all Uptime Robot pings the URL that you provide into the robot. To keep your project up you have to add your project url https://project-name.glitch.me to the URL field.

To Uptime Robot to work, you have to make your project URL reachable, which can be done within creating a express port on your code.

To fix the issue, you have to create a hello-express project and move your current code inside. To get rid of the website and use the project only for your discord bot you can delete all the code inside index.html but not the file itself. After that you can put all of your code inside server.js file and edit the package.json file to have the latest version of discord.js.

I hope that helps you out, Great codings!

it will take about five minutes to show anything