Ask coding questions

← Back to all posts
About keeping a discord bot online 24/7
YeetyMcYeetster

Hello,

I have hosted my discord bots (in js and in py) and i have never ran in to a problem until now with my discord.py bot. I am using keep_alive and uptimerobot is pinging it everything runs fine but when i close my tab then the bot stops working, in uptimerobot there are no errors.
My keep_alive.py file:

Voters
SHUBHAM-BOHRABO
BoyOneChamp
Nanamiaoyama
MateoBentoglio
AuntieKey
nakanme
PrakharBhandari
isige
YeetyMcYeetster
Comments
hotnewtop
Ven0m515

Same for me too.

isige

this happens to me sometimes too idk
i'm trying to run the Red framework for 2 bots, and i only have 1 rpi which can barely handle 1

CubingOP

use uptime robot for pinging your webserver every 5 minutes.

a7blockeyblue

@CubingOP How? I have had UpTime running it with the "Up" status and its not online.

CubingOP

@a7blockeyblue watch from 58:42 for hosting bot and creating web server https://www.youtube.com/watch?v=SPTfmiYiuok

AliKilicoglu

same

BeAsT700

what do i do ?