errbotio / errbot

Errbot is a chatbot, a daemon that connects to your favorite chat service and bring your tools and some fun into the conversation.
http://errbot.io
GNU General Public License v3.0
3.08k stars 607 forks source link

No dependency version for python-telegram-bot is specified in the Documentation #1682

Closed kindejak closed 2 days ago

kindejak commented 5 months ago

Description: The current documentation for installing the python-telegram-bot dependency lacks specification for the required version. This leads to unintended behavior where version 20.8 is installed by default when installing via pip, causing compatibility issues with errbot, specifically resulting in the error "AttributeError: 'coroutine' object has no attribute 'id'".

Suggested Solution: Update the documentation to specify that the python-telegram-bot dependency, either: pip install python-telegram-bot==13.15 or pip install errbot[telegram]

nzlosh commented 5 months ago

This sounds reasonable, would you mind opening a pull request with the suggested changes? https://github.com/errbotio/errbot/blob/master/docs/user_guide/configuration/telegram.rst

sijis commented 2 days ago

@kindejak thanks for noting it. I created a PR for it. Thank you.