How bombervan11/schedules-pytelebot works
This is a small Telegram schedule bot. Users start a conversation, choose a weekday or another schedule option, then receive timetable information, subject details, or meeting links. The sampled Bot.py code handles these interactions directly; config.py supplies its token, while start.py is an optional console launcher. The tree includes Schedule.xlsx, but the sampled source does not show it being read, so no connection to runtime data is asserted.
Main entry points: Bot.py Bot handlers · start.py Console launcher · config.py Bot token · AnimatedSticker.tgs Welcome sticker
Components 11
Runtime setup
- Console launcher
start.py - Bot token
config.py
Bot interactions
- Bot handlers
Bot.py
Schedule content
- Weekday schedules
Bot.py - Bell timetable
Bot.py - Subject details
Bot.py - Meeting options
Bot.py - Welcome sticker
AnimatedSticker.tgs - Schedule workbook
Schedule.xlsx
Other components
- Telegram user
- Telegram Bot API
Connections 10
- Telegram user → Telegram Bot API: sends updates
- Telegram Bot API → Bot handlers: dispatches updates
- Bot handlers → Telegram Bot API: sends replies
- Bot handlers → Bot token: reads token
- Console launcher → Bot handlers: starts process
- Bot handlers → Weekday schedules: selects schedule
- Bot handlers → Bell timetable: sends times
- Bot handlers → Subject details: answers callbacks
- Bot handlers → Meeting options: sends options
- Bot handlers → Welcome sticker: reads sticker