How itsbk13/spyx-bot works
SpyX Bot lets Telegram users manage Twitter accounts to monitor, then receive alerts when those accounts gain new followers. The documented workflow is implemented through command handling and an update job that compares shared follower data with each user's history and sends Telegram notifications. The README also describes profile-rich alerts, history, filtering, and privacy. The sampled code shows CSV-to-SQLite ingestion and per-user comparison; the source excerpts do not establish how follower CSVs are obtained, so that upstream step is omitted.
Main entry points: commands.py Bot commands · update_script.py Follower update job · KOL_SpyX_BOT.py Bot entrypoint · database.py Tracking database
Components 12
Telegram interface
- Bot commands
commands.py
Follower monitoring
- Follower update job
update_script.py - Follower CSV input
userdata/common_data - Follower alert
update_script.py
Tracking storage
- Tracking database
database.py - Per-user follower history
userdata - Shared follower history
userdata/common_data
Bot runtime
- Bot entrypoint
KOL_SpyX_BOT.py - Bot configuration
config.py - Logging
logger.py
Other components
- Telegram user
- Telegram service
Connections 17
- Telegram user → Telegram service: sends commands
README.md - Telegram service → Bot entrypoint: delivers updates
KOL_SpyX_BOT.py - Bot entrypoint → Bot commands: registers handlers
KOL_SpyX_BOT.py - Bot commands → Telegram user: replies
commands.py - Bot commands → Tracking database: manages tracking
commands.py - Bot commands → Per-user follower history: creates and removes
commands.py - Bot commands → Shared follower history: copies history
commands.py - Bot commands → Follower update job: runs update
commands.py - Bot entrypoint → Tracking database: initializes tables
KOL_SpyX_BOT.py - Follower update job → Tracking database: reads tracked accounts
update_script.py - Follower update job → Follower CSV input: reads CSV
update_script.py - Follower update job → Shared follower history: updates shared data
update_script.py - Follower update job → Per-user follower history: compares and updates
update_script.py - Follower update job → Follower alert: builds notifications
update_script.py - Follower alert → Telegram service: sends alert
update_script.py - Bot configuration → Bot commands: provides bot settings
commands.py - Bot entrypoint → Bot configuration: loads credentials
KOL_SpyX_BOT.py