Help #860
Unanswered
EmeraIdKing
asked this question in
Q&A
Help
#860
Replies: 1 comment
-
if you're using replit and want to use uptimerobot, you just need to create 1 file // server.js file
const express = require('express');
const app = express();
require('./index.js');
app.get('/', (req, res) => {
res.sendStatus(200)
})
app.listen(process.env.PORT || 3000, () => console.log(`Now listening to port ${process.env.PORT || 3000}`)) and start your bot with |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Im trying to set up so the bot doesn't crash after 1 hour, i found uptimerobot to be working just fine for other bots, but the problem is i need a custom domain thingy? (webserver?) for that, and i dont see this one having one on replit.
help!
Beta Was this translation helpful? Give feedback.
All reactions