Skip to content
Sign upLog in
← Back to Community
Discord.py bot (with a flask server) comes down?
Profile icon
programmeruser

Hi everyone. I'm new to discord.py and I created a bot and a flask server to keep the bot up after I close the browser window. After about 10 or 20 minutes, it's fine. But when I come back a few hours later, it's down?

Answered by Coder100 [earned 5 cycles]
View Answer
Voters
Profile icon
MartinConan
Profile icon
nkmrepl
Profile icon
programmeruser
Comments
hotnewtop
Profile icon
Coder100

Hi! You will need to use a pinger to do that. https://ping.matdoes.dev/, https://uptimerobot.com/, and the official one: https://keeper-upper.turbio.repl.co.

Also, as a side note: You can only keep 20 websites up at any time.

Profile icon
AstOwOlfo

You need to use a pinger like https://ping.matdoes.dev/ or https://uptimerobot.com if you’re using the web server method