How souravkl11/raganork works
Raganork is a legacy, single-session WhatsApp bot framework built on Baileys. Its intended user workflow is to receive WhatsApp messages or events, dispatch them through command and event handling, run an installed plugin, and respond through WhatsApp. The tree also documents group management and session handling; configuration and a Sequelize-backed database form internal support layers. The README establishes the overall capabilities, but obfuscated or unsampled entry-point code limits verification of specific runtime calls, so only documented links are shown.
Main entry points: plugins Plugin system · Handler.js Command and event handling · config.js Database · filters.js Filter records
Components 22
Bot runtime
- Session handling
lib/Session.js - Command and event handling
lib/Handler.js - Plugin system
plugins
Messaging
- Message model
lib/Message.js - Reply messages
lib/ReplyMessage.js - Image processing
lib/Image.js - Video processing
lib/Video.js
Bot features
- Commands
plugins/commands.js - Group management
plugins/group.js - Group automation
plugins/group_automation.js - Message filters
plugins/filters.js - Greetings
lib/Greeting.js - Media features
plugins/media_tools.js - AI features
plugins/misc/AI.js - Scraping and translation
plugins/scrapers.js - Bot administration
plugins/manage.js
Configuration and state
- Configuration
config.js - Database
config.js - Filter records
plugins/sql/filters.js - Greeting records
plugins/sql/greeting.js
Other components
- WhatsApp user
- WhatsApp / Baileys
Connections 18
- WhatsApp user → WhatsApp / Baileys: sends messages
- WhatsApp / Baileys → Command and event handling: delivers events
- Command and event handling → Plugin system: dispatches plugins
- Plugin system → WhatsApp / Baileys: sends responses
- WhatsApp / Baileys → Session handling: authenticates session
- Command and event handling → Message model: handles messages
- Plugin system → Commands: provides commands
plugins/manage.js - Plugin system → Group management: provides management
plugins/group.js - Plugin system → Group automation: provides automation
plugins/group_automation.js - Plugin system → Message filters: provides filters
plugins/filters.js - Plugin system → Greetings: provides greetings
- Plugin system → Media features: provides features
plugins/media_tools.js - Plugin system → AI features: provides features
plugins/scrapers.js - Plugin system → Scraping and translation: provides features
plugins/scrapers.js - Plugin system → Bot administration: provides features
plugins/youtube.js - Configuration → Database: configures storage
config.js - Filter records → Database: stores filters
plugins/sql/filters.js - Greeting records → Database: stores greetings
plugins/sql/greeting.js