How thealoneteam/meowrobot works
MeowRoBot is a modular Telegram group-management bot with AI chat, moderation, group controls, and community features. Telegram users interact with the running bot; feature modules handle commands and events, with SQL-backed settings supporting capabilities such as locks, welcomes, and user records. The README also describes notes, custom filters, night mode, and chatbot integration, whose source was not sampled. Edges are limited to relationships visible in excerpts, the source index, or documented by the README; unsampled feature wiring is not inferred.
Main entry points: __init__.py SQL sessions · __main__.py Polling entry · welcome.py Welcome rendering · chat_status.py Permission checks
Components 29
Bot runtime
- Polling entry
MeowRobot/__main__.py - Bot clients
MeowRobot/__init__.py - Configuration
MeowRobot/config.py - Event hooks
MeowRobot/events.py - Message utilities
MeowRobot/modules/helper_funcs/misc.py - Text formatting
MeowRobot/modules/helper_funcs/string_handling.py - Message types
MeowRobot/modules/helper_funcs/msg_types.py
Moderation and controls
- Group administration
MeowRobot/modules/admin.py - Group connections
MeowRobot/modules/connection.py - Message locks
MeowRobot/modules/locks.py - Command disabling
MeowRobot/modules/disable.py - Night mode
MeowRobot/modules/nightmode.py - Permission checks
MeowRobot/modules/helper_funcs/chat_status.py
Community features
- Welcome and goodbye
MeowRobot/modules/welcome.py - Welcome rendering
MeowRobot/modules/helper_funcs/welcome.py - Notes
MeowRobot/modules/notes.py - Custom filters
MeowRobot/modules/cust_filters.py - AI chatbot
MeowRobot/modules/chatbot.py
Persistence
- SQL sessions
MeowRobot/modules/sql/__init__.py - Connection records
MeowRobot/modules/sql/connection_sql.py - Lock records
MeowRobot/modules/sql/locks_sql.py - Welcome records
MeowRobot/modules/sql/welcome_sql.py - User records
MeowRobot/modules/sql/users_sql.py - Global ban records
MeowRobot/modules/sql/global_bans_sql.py - Filter records
MeowRobot/modules/sql/cust_filters_sql.py - SQL database
Other components
- Telegram users
- Telegram
- Chatbot API
Connections 37
- Telegram users → Telegram: sends updates
- Telegram → Polling entry: delivers updates
MeowRobot/__main__.py - Polling entry → Telegram: polls updates
MeowRobot/__main__.py - Polling entry → Bot clients: uses clients
MeowRobot/__main__.py - Bot clients → Configuration: loads settings
MeowRobot/__init__.py - Polling entry → SQL sessions: imports sessions
MeowRobot/__main__.py - Polling entry → Permission checks: imports checks
MeowRobot/__main__.py - Polling entry → Message utilities: imports utilities
MeowRobot/__main__.py - Polling entry → User records: imports user data
MeowRobot/__main__.py - Group connections → Permission checks: checks status
MeowRobot/modules/connection.py - Group connections → Connection records: reads and writes
MeowRobot/modules/connection.py - Message locks → Group connections: uses connection state
MeowRobot/modules/locks.py - Message locks → Command disabling: checks disabled commands
MeowRobot/modules/locks.py - Message locks → Permission checks: checks permissions
MeowRobot/modules/locks.py - Message locks → Lock records: reads and writes
MeowRobot/modules/locks.py - Command disabling → Permission checks: checks permissions
MeowRobot/modules/disable.py - Command disabling → SQL sessions: uses SQL sessions
- Group administration → Permission checks: checks permissions
MeowRobot/modules/admin.py - Welcome and goodbye → Welcome rendering: handles member events
MeowRobot/modules/welcome.py - Welcome and goodbye → Welcome records: reads and writes
MeowRobot/modules/welcome.py - Welcome rendering → Message types: uses message types
MeowRobot/modules/helper_funcs/welcome.py - Welcome rendering → Text formatting: formats messages
MeowRobot/modules/helper_funcs/welcome.py - Welcome rendering → Message utilities: uses message utilities
MeowRobot/modules/helper_funcs/welcome.py - Welcome rendering → Permission checks: checks chat status
MeowRobot/modules/helper_funcs/welcome.py - Welcome rendering → User records: uses user records
MeowRobot/modules/helper_funcs/welcome.py - Welcome rendering → Global ban records: checks global bans
MeowRobot/modules/helper_funcs/welcome.py - Notes → SQL sessions: uses SQL storage
- Custom filters → Filter records: uses filter records
MeowRobot/modules/sql/cust_filters_sql.py - Night mode → SQL sessions: uses SQL storage
- AI chatbot → Chatbot API: requests responses
- Connection records → SQL sessions: uses sessions
- Lock records → SQL sessions: uses sessions
MeowRobot/modules/sql/locks_sql.py - Welcome records → SQL sessions: uses sessions
MeowRobot/modules/sql/welcome_sql.py - User records → SQL sessions: uses sessions
MeowRobot/modules/sql/users_sql.py - Global ban records → SQL sessions: uses sessions
MeowRobot/modules/sql/global_bans_sql.py - Filter records → SQL sessions: uses sessions
MeowRobot/modules/sql/cust_filters_sql.py - SQL sessions → SQL database: connects and creates tables
MeowRobot/modules/sql/__init__.py