Skip to content
Sign upLog in
This post is read-only. Explore Repls and connect with other creators on Community.View Community
The info in this post might be out of date, check out our docs instead. View docs
8

uptimerobot

ben1389
ben1389

How do I keep my bot always running? I'm making a Discord Bot right now!

2 years ago

Voters

Comments

TopNew
7
Coder100
Coder100

Hello! To do this, just add this to your code:

require("http").createServer((_, res) => res.end("Alive!")).listen(8080)

Now, just use uptimerobot to ping that page!

2 years ago
7
MrTechy11
MrTechy11

@Coder100
What's the page though?

2 years ago
Load more