B
B
buymyopps2021-01-10 15:56:43
Python
buymyopps, 2021-01-10 15:56:43

Why is pytelegrambotapi bot shutting down?

Hello, I am writing here because I can’t fix the problem of turning off the bot after it has been running for a short time. I even wrote a bot on the user side that would write to the bot every 15 seconds, but it still didn’t help, which is the most annoying thing in the user’s bot, this is also a problem. Help me please. Completely confused. I used libraries - pyrogram - for the user bot and telebot - for the bot itself. Bot code - https://repl.it/@krickpoz/FloweryWindyApplicationp... Bot

user code - https://repl.it/@krickpoz/PalatableEnchantedMicrob... PS The code did not fit, so on the replay)

Answer the question

In order to leave comments, you need to log in

2 answer(s)
B
buymyopps, 2021-01-11
@buymyopps

Problem solved. Rewrote the bot on the aiogram library.

A
aminodovborisov, 2021-01-11
@aminodovborisov

Perhaps the problem is not in the bot, but in the server on which it is deployed.
On which server is your Telegram bot deployed?

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question