T
T
Ternick2021-06-17 14:48:29
Python
Ternick, 2021-06-17 14:48:29

Why does a free PythonAnywhere account prevent a Telegram bot from working stably?

There is a simple Telegram bot that is installed and running on PythonAnywhere, then every few days the bot crashes, usually a maximum of 1-2 days and the bot crashes, there are no errors and cannot be in the bot, during this time almost no one wrote to him, exhaust the limit on the CPU, he could not, what could go wrong and how to avoid it?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
S
soremix, 2021-06-17
@Ternick

Is the bot running in the console? That's not how it's done. Make it into a webhook and upload to pythonanywhere with the appropriate settings. Everything will work great

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question