How ulilabror/rajin-nulis-bot works
Rajin Nulis BOT is a WhatsApp bot that handles incoming commands, especially turning text into a handwritten-style page, and also provides informational and group/owner commands. The documented command list is broader than the sampled implementation; the graph covers the documented menu and the command-handler subsystem without inventing unsampled behavior. The handler references image files under mager/, but the tree lists only mager/MFS.txt; those assets are not represented as confirmed files.
Main entry points: msgHndlr.js Command context · index.js Session startup · options.js Client options · help.js Bot information
Components 13
Bot runtime
- Session startup
index.js - Client options
options.js - Event registration
index.js
Commands
- Message handler
msgHndlr.js - Command context
msgHndlr.js - Group and owner
msgHndlr.js - Help and info
msgHndlr.js - Bot information
lib/help.js
Handwriting
- Page rendering
msgHndlr.js - Paper assets
mager
Other components
- WhatsApp user
- WhatsApp service
- ImageMagick
Connections 15
- WhatsApp user → WhatsApp service: sends message
- WhatsApp service → Event registration: delivers events
- Session startup → Client options: gets options
- Session startup → WhatsApp service: creates client
- Event registration → Message handler: dispatches message
- Message handler → Command context: parses command
- Command context → Group and owner: routes commands
- Command context → Help and info: routes commands
- Command context → Page rendering: routes command
- Help and info → Bot information: uses text
- Group and owner → WhatsApp service: manages chats
- Help and info → WhatsApp service: sends replies
- Page rendering → Paper assets: reads paper
- Page rendering → ImageMagick: renders page
- Page rendering → WhatsApp service: sends image