How gaaash/matchday-bot works
Matchdaybot is a Telegram football-information bot. Users request today’s games, a team’s next match, recent results, standings, or lineups; the bot returns formatted information in Telegram. A scheduled worker refreshes match and result data, while lineup lookup resolves an opponent and fetches official or predicted players. The README is empty, so capabilities and relationships here are based on the excerpts and SOURCE INDEX; the database implementation and stored-data layout are not present in the tree.
Main entry points: findLineup.py Lineup lookup · scheduler.py Match scheduler · main.py Team commands · findtable.py League standings
Components 15
Telegram interface
- Telegram bot
main.py - Team commands
main.py - League standings
findtable.py - Usage persistence
Match data
- Match scheduler
scheduler.py - Match and result files
Lineup lookup
- Lineup lookup
findLineup.py
Team reference
- Team mappings
data.py
Other components
- Telegram user
- TheSportsDB
- 365Scores
- Flashscore
- Livesport search
- Lineup GraphQL API
- Better Stack heartbeat
Connections 18
- Telegram user → Telegram bot: sends commands
main.py - Telegram bot → Team commands: dispatches commands
main.py - Telegram bot → League standings: imports standings
main.py - Team commands → Lineup lookup: requests lineup
main.py - Team commands → Match and result files: reads match files
main.py - Team commands → Usage persistence: saves usage
main.py - Match scheduler → Team mappings: uses team IDs
scheduler.py - Match scheduler → TheSportsDB: fetches next events
scheduler.py - Match scheduler → 365Scores: fetches recent games
scheduler.py - Match scheduler → Match and result files: writes match files
scheduler.py - Match scheduler → Better Stack heartbeat: pings heartbeat
scheduler.py - Lineup lookup → Team mappings: uses team mappings
findLineup.py - Lineup lookup → Flashscore: fetches match pages
findLineup.py - Lineup lookup → Livesport search: searches opponent
findLineup.py - Lineup lookup → Lineup GraphQL API: fetches lineups
findLineup.py - Lineup lookup → Match and result files: writes lineup file
findLineup.py - League standings → 365Scores: fetches standings
findtable.py - League standings → Match and result files: writes standings file
findtable.py