eternnoir / pyTelegramBotAPI

Python Telegram bot api.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Enable tracemalloc to get the object allocation traceback

46ef882ff3a47d opened this issue · comments

When I run the code, I get the Enable tracemalloc to get the object allocation traceback error
Complete error report:
bot.py:20: RuntimeWarning: coroutine 'AsyncTeleBot.infinity_polling' was never awaited
bot.infinity_polling(stop=False)
RuntimeWarning: Enable tracemalloc to get the object allocation traceback
photo_2024-04-22_22-28-58

I didn't solve the problem

If you do not know how to work with async - use Telebot.