Hosting a Discord bot on Repl
Hello!
Real quick, I have a stupidly simple NodeJS Discord.js Discord bot I wrote. Am I able to just run it on Repl? I remember seeing a banner saying I could host sites on Repl. Is there a rule against this? Is there an amount of time a Repl VM will run before terminating?
ash15khng (712)
It will terminate after a while, but you can use something called Uptime Robot to keep your repl up! (not sure how to use it tho only heard of people using it)
Vandesm14 (2645)
You are allowed to host a Discord bot on repl.it
If you use Uptime Robot and setup a ping/http monitor to ping your repl, you can keep it alive forever!
Please mark this as answered if I helped your problem 👍
decomp (3)
bots go offline at night for me and never are up 24/7
RiccardoGiorgi (0)
@decomp at night: what time more or less?
Yes, you can using uptimerobot, like @Vandesm14 and @ash15khng said. I'll give you step by step instructions. Please note that your repl will need a front end (an HTML page).
@Zavexeon How do I create the front end?
@DomLowe What language?
@Zavexeon Node.JS
@DomLowe An easy way to create a front end is