DEV Community

Khanmanan
Khanmanan

Posted on • Edited on

2 2

How to host discord bot 24/7 on replit 2022 | 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)
Enter fullscreen mode Exit fullscreen mode

Now u can see website icon on replit

4 now copy ur website url

5 go to these websitesapptime

How to Use
Learn how to create your new monitor in just 2 minutes.

5
Sign In
Sign In to Apptime.

6
Create new Monitor
Create your new monitor on the Dashboard page.

7
Finish!
Yes, that's all.


Automodbot

8 if u not understand here is the totureal

join our discord server

Sentry image

See why 4M developers consider Sentry, “not bad.”

Fixing code doesn’t have to be the worst part of your day. Learn how Sentry can help.

Learn more

Top comments (0)

Heroku

This site is powered by Heroku

Heroku was created by developers, for developers. Get started today and find out why Heroku has been the platform of choice for brands like DEV for over a decade.

Sign Up

👋 Kindness is contagious

Please leave a ❤️ or a friendly comment on this post if you found it helpful!

Okay