samirsalman / AmazonOffers-TelegramBot

This project is a Telegram Bot connected to a Telegram Channel that checks Amazon offers and send them to your Channel.
140 stars 48 forks source link

Getting error while posting to bot #48

Closed hetalb closed 9 months ago

hetalb commented 9 months ago

I am getting this error at the step when it is posting to bot. Any idea what is causing this ?

INFO:root:***** Sending posts to channel *****
bot.py:37: RuntimeWarning: coroutine 'Bot.send_message' was never awaited
  bot.send_message(
RuntimeWarning: Enable tracemalloc to get the object allocation traceback
bot.py:47: RuntimeWarning: coroutine 'Bot.send_message' was never awaited
  bot.send_message(
RuntimeWarning: Enable tracemalloc to get the object allocation traceback
samirsalman commented 9 months ago

It's a warning and not an error.