Share your repls and programming experiences

← Back to all posts
Discord Bot monitor
ShivankChhaya

Hi.

I made a discord bot monitor!

Background Info

I have a discord bot, and I use Uptime robot to monitor and give it 100% uptime. This monitor uses one monitor from Uptime robot to keep this alive itself.

Why

I made this because I think on Uptime robot you can only make 50 monitors. I know that is a lot, but what if you wanted to make 51 bots? With this here, you can make unlimited monitors!

How to use

This is pretty simple to use. Just fork it, then put your bot website URLs in bot_urls(In setup.py file). Then put your timeout in timeout(minutes). Then go to Uptime robot and create a monitor for this. Look below if you do not have an Uptime robot account.

No Uptime robot account

First, create your account. It is pretty easy to do, just username and password. Then, on your dashboard, click "Add new monitor" at the top.

  • For monitor type, select HTTP(s)
  • For friendly name, put in anything you want
  • For URL, put in this repl's website URL
  • Select any monitoring URL you want
  • Select any alert contacts

You are done!!!!

Voters
Evobot
KmZoficial
GrimReaper007
Senthemen
TsunamiOrSumth
parkerslv
Crosis
LuckyOreos
ShivankChhaya
Comments
hotnewtop
Senthemen

You are literally god, my bot is getting pinged 7 times every second with 0.15 time until the next ping, it hasn't gone down for ages, thanks so much. I haven't used this since you released it so i decided to try it today and its insanely good, what I said about it not working was another monitor i was using. Thank you so much.

ShivankChhaya

@DavidDorval very happy i could help :) !

Senthemen

i think it only works for small bots not big bots bc i tried it with one of my bots that had 4000+ lines of code and it didn't work :(
help

ShivankChhaya

@DavidDorval hmm maybe a glitch in the prgram or u werent runing it

If its a glitch ill check

also what exactly do you mean by "didn't work"?

Senthemen

@ShivankChhaya It didn't start the webserver but i figured out what was wrong lol, i forgot to start it by using keep_alive()

ShivankChhaya

@DavidDorval ooo lol ok

Senthemen
ShivankChhaya
ShivankChhaya

@DavidDorval I figured out a way to ping you if there are any updates. Give me your repl link and refork the repl and do everything you need to.

Senthemen
ShivankChhaya

@DavidDorval ummm gimme repl link plz

Senthemen

@ShivankChhaya You seem awfully desperate to inform me about something, if there is an update simply @ me in this thread

ShivankChhaya

@DavidDorval sure fine

Jeydin21

WAIT YOU CAN CHOOSE HOW OFTEN YOU WANT TO PING IT?

Jeydin21

@Jeydin21 THAT'S LITERALLY FREE UPTIME ROBOT PREMIUM

ShivankChhaya

@Jeydin21 uhhh well free only allows minimum 5 minutes, while you can go in milliseconds on this one

Jeydin21
Senthemen

YO THANKS SO MUCH FOR THIS HOLY THIS IS A GAME CHANGER

ShivankChhaya

@DavidDorval glad i could help bro!

Senthemen
LuckyOreos

Cool

ShivankChhaya

@LuckyOreos thank you

u replied in less than a minute after I posted lol

LuckyOreos

@ShivankChhaya Yeah I look at new projects in share so I was like ok let’s check this out

ShivankChhaya

@LuckyOreos same i do that sometimes