How sakexyz/tree_bot works
This is a small Telegram support bot: users start or request instructions, submit a formatted issue, receive an acknowledgement, and have the message forwarded to a support group while a Trello card is created in the department's list. The runtime is concentrated in main.py; README capabilities not sampled separately are represented only where supported by that file. The routing group ID, Trello endpoint, and configuration are environment-provided or hard-coded, so they are shown as external dependencies.
Main entry points: main.py Bot runtime
Components 13
Telegram interaction
- Bot runtime
main.py - Start welcome
main.py - Instructions
main.py - Message handler
main.py - Submission acknowledgement
main.py
Request processing
- Department parsing
main.py - Timestamp generation
main.py - Card creation
main.py
External services
- Telegram API
- Support group
- Trello API
- Department lists
Other components
- Telegram user
Connections 15
- Telegram user → Telegram API: sends message
- Telegram API → Bot runtime: dispatches updates
- Bot runtime → Start welcome: handles start
- Bot runtime → Instructions: handles button
- Bot runtime → Message handler: handles message
- Start welcome → Telegram API: sends welcome
- Instructions → Telegram API: sends guidance
- Message handler → Support group: forwards message
- Message handler → Submission acknowledgement: sends acknowledgement
- Submission acknowledgement → Telegram API: sends video
- Message handler → Department parsing: passes text
- Department parsing → Timestamp generation: requests timestamp
- Department parsing → Card creation: builds card data
- Card creation → Trello API: creates card
- Card creation → Department lists: selects list