Script stops regularly working

Hi! I made tg bot on python 3.9 and it works fine, but every 1-2 days it stops responding. No errors in console, just have no response when type a command. Rebooting a script fix this problem, but i should do it manually every 1-2 days . This behavior is independent of CPU or memory resources. Can I do smth with this? Thanks!

Our consoles are not designed for long running jobs -- if you want to have one on PythonAnywhere, you should use the Always-on task feature.