EIDiamond / grafana_image_downloader

Download Grafana panel as image, add watermark and send to telegram chat or channel.
Apache License 2.0
1 stars 1 forks source link

RuntimeWarning: coroutine 'Bot.send_photo' was never awaited #1

Closed Dorlas closed 1 year ago

Dorlas commented 1 year ago

Thank you very much for the program!

That's what I've been looking for the last week.

Started testing - saving panels to PNG works great!

BUT, when I try to send to Telegramm, I get an error.

EIDiamond commented 1 year ago

Hi @Dorlas, thank you for feedback.

Please test the following version 'python-telegram-bot' package. python-telegram-bot==13.15

Actually, I used this version and forgot to set it in the requrements.txt file. Thank you for pointing it.

EIDiamond commented 1 year ago

requirements.txt was updated

Dorlas commented 1 year ago

Wow - big thanks!!! All works very well now!