How sk-lyf/discord-cricket-bot works
This small Python bot fetches the current cricket matches from CricAPI, formats the first match as a scorecard, and posts it to Discord. The shown entry point runs that sequence directly. The workflow file is listed in the tree but its contents are unavailable, so the trigger is not represented.
Main entry points: cricket_bot.py Script entry point
Components 5
Bot runtime
- Script entry point
cricket_bot.py - Score retrieval
cricket_bot.py - Discord delivery
cricket_bot.py
Other components
- CricAPI
- Discord webhook
Connections 5
- Script entry point → Score retrieval: fetches score
cricket_bot.py - Score retrieval → CricAPI: requests matches
cricket_bot.py - Score retrieval → Script entry point: returns scorecard
cricket_bot.py - Script entry point → Discord delivery: sends score
cricket_bot.py - Discord delivery → Discord webhook: posts message
cricket_bot.py