Closed KirisakiAria closed 7 months ago
I use pm2 and have no problems whatsoever. Maybe you have a bug in your code... For example, you are trying to send a message to a chat room that doesn't exist already or something similar that telegram can't do.
I use systemd or just a Docker with --restart="unless-stopped"
I used pm2 at first, but there would be ETELEGRAM: 409 Conflict. Then I switched to forever, but after a while the bot seems to disconnect or crash, it's unresponsive, and checking the logs there's no anomalies, and it comes back using forever restart. But I can't manually restart it every 20 minutes. What other process daemon tools work better for this bot?