Problem description:
I am hosting on replit a bot I created for an application called “highrise” and also set it to “always on” but it keeps stopping and not starting back automatically. This is the bot: https://replit.com/@aprogrammer97/ChallengeBotRise
Expected behavior:
The bot should stay online and not disconnect
Actual behavior:
The running stops and I get “error connection with id closed”
Steps to reproduce:
I set it to always on, I run it and when i came back, its stopped
I think you should use Deployments instead, they don’t turn off. But some members of the staff team have been notified so hopefully this can fix this soon.
I think that Always On is supposed to turn off sometimes (sneaky move from Replit) but there are two things you can do (and note that I don’t know much about bots, this is general advice)
It will keep your repl up for free and it won’t stop like Always On. There are options like UpTimeRobot (cron job is better) and building your own pinger (NOT RECOMMENDED)
2: deployments (I think)
qwerty said this but Deployments also keeps your repl up (mostly). IIRC it also stops sometimes.
Press “Deploy your project” after that. Then, choose a level (higher costs more). Purchase and deploy, and you will be deploying your project.
If you need more specific help then you should ask but note that I don’t know much about Deployments.