Ask coding questions

← Back to all posts
how do i make a mod discord bot that stay online 24/7 node.js
Jasonkingtou

im wondering how to make a discord bot for free that stays online 24/7

Voters
Jasonkingtou
Comments
hotnewtop
SixBeeps

Set up a server with something like Flask, then use UptimeRobot to ping that server every few minutes.

Jasonkingtou

@SixBeeps i ment node.js not python

Jasonkingtou

@SixBeeps node.js wont give me a url to ping

SixBeeps

@Jasonkingtou Same solution, but replace Flask with Express.

Jasonkingtou

i tried express and it did not work @SixBeeps

SixBeeps

@Jasonkingtou What did your setup look like?

Jasonkingtou

I fixed it and now my bots works fine @SixBeeps