Ask coding questions

← Back to all posts
Discord bot goes offline even it is getting pinged
FoxReis (0)

I use UptimeRobot and Freshping to ping my bot and it sometimes just goes offline but i dont know why.
I use JS and maybe its because my bot is a anti toxicity bot so it scans all of the messages sent and deletes it if its toxic(using tensorflowjs).

Comments
hotnewtop
[deleted]

Make sure you setup your HTTP server pinger right. Check a tutorial to verify its correct. Also, you could just use the always on feature since you have a hacker plan.

If it still dosent work, them im going to blame it in the tensorflow, as tensorflow can stress out any computer within seconds since simulating an intelligence mind isnt an easy task

FoxReis (0)

@novaflippers yeah i did it correctly so its tensorflows fault

[deleted]

@FoxReis Yeah, check the logs if there was any "Disk Quota Exceeded". I wish I could help with hosting but I dont know any other hosting service that provides a GPU at a low price

FoxReis (0)

@novaflippers mine doesnt use gpu it uses cpu also i cannot afford any hosting because i am just a student

[deleted]

@FoxReis Stuff like Tensorflow usually require GPU's, or powerful CPU's.

I wish I could help but I dont have access to that kind of stuff either :( You could try boosting the repl and see if the performance & stability improved

FoxReis (0)

@novaflippers i already do also my hacker plan is gonna expire soon too :(

[deleted]

@FoxReis Oof same, I might not be able to renew it

LukeWright (287)

how often is uptimerobot pinging your bot? It may be going offline in between pings.

FoxReis (0)

@LukeWright 5 mins and freshping pings it every 1 minute