Ask coding questions

← Back to all posts
Telegram bot
TenzoTS

I decided to connect the Telegram bot to Repl It, inserted the bot code into main.py, and it seemed to work, but after a while the bot was disconnected. I watched a video where people took the URL from the site and connected it to UpTime. And everything seems to be simple, but I had a problem, in Repl It I could not find the URL to connect. I searched the forums, looked at tutorials but found no answer.

Voters
InfinityWill
Comments
hotnewtop
19wintersp

You should connect "<repl name>.<username>.repl.co": so for your "24bot", you would use "24bot.tenzots.repl.co".

TenzoTS

@19wintersp It seems to work, now the bot will work stably 24/7 every day? Or are there limitations?

19wintersp

@TenzoTS Pinging services won't always work perfectly, so there might be some downtime, but Replit automatically changes a repl's container every so often, so you won't be able to get perfect uptime anyway.