A Node.js script to automate sending messages using whatsapp-web.js.
- Install dependencies:
npm install
- Add the numbers you want to send messages to in
numbers.txt(one number per line, format:1234567890). - Add the codes or messages you want to send in
codes.txt. - Run the script:
node index.js
- Scan the QR code that appears in the terminal with your WhatsApp app on your phone.
Never share your .wwebjs_auth folder, as it contains your WhatsApp session!