How nkvv69/businka-feed-bot works
Businka Feed Bot is a small Telegram pet-care bot. The user interacts through Telegram messages and callback buttons: the dispatcher routes inputs to handlers, which provide feeding prompts, record weights, show weight history, and update pet name or feeding times. Pet settings and weight records are persisted in a local JSON file. The README advertises feeding reminders, but the sampled implementation responds only when the user requests feeding; no scheduled reminder loop is shown.
Main entry points: businka_feed_bot_full.py Message dispatcher
Components 13
Telegram interaction
- Message dispatcher
businka_feed_bot_full.py
Pet features
- Start menu
businka_feed_bot_full.py - Feeding prompt
businka_feed_bot_full.py - Weight entry
businka_feed_bot_full.py - Weight history
businka_feed_bot_full.py - Settings menu
businka_feed_bot_full.py - Rename pet
businka_feed_bot_full.py - Feeding times
businka_feed_bot_full.py
Bot state
- Conversation state
businka_feed_bot_full.py - Pet data
businka_feed_bot_full.py - Local JSON file
businka_feed_bot_full.py
Other components
- Pet owner
- Telegram
Connections 19
- Pet owner → Telegram: sends input
README.md - Telegram → Message dispatcher: delivers updates
businka_feed_bot_full.py - Message dispatcher → Start menu: routes command
businka_feed_bot_full.py - Message dispatcher → Feeding prompt: routes request
businka_feed_bot_full.py - Message dispatcher → Weight entry: routes input
businka_feed_bot_full.py - Message dispatcher → Weight history: routes request
businka_feed_bot_full.py - Message dispatcher → Settings menu: routes request
businka_feed_bot_full.py - Message dispatcher → Rename pet: routes input
businka_feed_bot_full.py - Message dispatcher → Feeding times: routes input
businka_feed_bot_full.py - Weight entry → Conversation state: sets state
businka_feed_bot_full.py - Rename pet → Conversation state: sets state
businka_feed_bot_full.py - Feeding times → Conversation state: sets state
businka_feed_bot_full.py - Weight entry → Pet data: appends record
businka_feed_bot_full.py - Rename pet → Pet data: updates name
businka_feed_bot_full.py - Feeding times → Pet data: updates times
businka_feed_bot_full.py - Weight history → Pet data: reads records
businka_feed_bot_full.py - Feeding prompt → Pet data: reads pet name
businka_feed_bot_full.py - Pet data → Local JSON file: loads and saves
businka_feed_bot_full.py - Message dispatcher → Telegram: polls and replies
businka_feed_bot_full.py