Skip to content
Sign upLog in
← Back to Community
My bot is going offline
Profile icon
Soham8040

I've noticed often that my discord.py bot is going offline even after using uptimerobot and webserver, I am new to coding bots so I don't know what to do.

Voters
Profile icon
KeaganLandfried
Profile icon
Soham8040
Comments
hotnewtop
Profile icon
FlyRobo

Sorry im super late for this 💀

is the bot saying that its coming online in the console? if it doesnt then go to your shell, then type "kill 1". after u do that, wait for everything to load and then run your bot

Profile icon
KeaganLandfried

Can you link your bot?
I have made multiple Discord bots and pinged them using uptimerobot. Make sure you have a keep_alive function as well.

Profile icon
Soham8040

@KeaganLandfried

I have kept it like
`keep_alive()

client.run('My token')`

Profile icon
KeaganLandfried

@Soham8040

Did you write the keep alive function ?

Profile icon
Soham8040
Profile icon
KeaganLandfried

@Soham8040

That's odd, how often is UptimeRobot pinging it?

Profile icon
RanitSarkhel

@KeaganLandfried
In my case it's five minutes. But still I facing the issue