How to host discord bot 24/7 on replit | cwkhan

Want host discord.js bot replit 24/7 ?

1 Go to ur project

2 Go to ur project main file

3 put these code in your main file

require('http').createServer((req, res) => res.end('Bot is alive!')).listen(3000)

Now u can see website icon on replit

4 now copy ur website url
Then go to apptime

5 Loging in the website now go to apptime dashboard

6 Now click on monitor then click on add monitor

Put ur replit website url endwith .repl.co

Now click on add now ur replit hosted 24/7

7 if u not understand here is the totureal

8 if u not understand join our discord server

đź“ť Tutorial

12