Can Somebody Help Me Make My Discord Bot Stay Online


#1

Add Me On Discord If You Can Help. Anonymous#8246 Is My Discord


#2

Add the following to your main server file and then use uptime robot to periodically access your project:

const express = require('express');
const app = express();
app.get("/", (request, response) => {
  console.log(Date.now() + " Ping Received");
  response.sendStatus(200);
});
app.listen(process.env.PORT);