mirror of
https://github.com/marcogll/talia_bot.git
synced 2026-01-13 13:25:19 +00:00
The Telegram bot was becoming unresponsive due to a conflict between a legacy `ConversationHandler` for the `propose_activity` flow and the main `FlowEngine`. This was likely caused by breaking changes in the `python-telegram-bot` library. This commit resolves the issue by: 1. Removing the problematic `ConversationHandler` from `main.py` and its related functions from `modules/equipo.py`. 2. Migrating the "propose activity" feature to a data-driven JSON flow (`crew_propose_activity.json`), making it compatible with the existing `FlowEngine`. 3. Pinning the `python-telegram-bot` dependency to `<22` in `requirements.txt` to prevent future breakage from upstream updates. This change ensures all conversational flows are handled consistently by the `FlowEngine`, restoring bot responsiveness and improving maintainability.
10 lines
145 B
Plaintext
10 lines
145 B
Plaintext
python-telegram-bot[job-queue]<22
|
|
requests
|
|
schedule
|
|
google-api-python-client
|
|
google-auth-httplib2
|
|
google-auth-oauthlib
|
|
openai
|
|
pytz
|
|
python-dotenv
|