A quick project for a friend.
Follow these steps to set up and run the chatbot on your local machine:
-
Fork the Repository: Start by forking this repository to your own GitHub account by clicking the "Fork" button in the upper right corner.
-
Clone the Repository: Clone your forked repository to your local machine using Git. Replace
<your-username>
with your GitHub username.
git clone https://github.com/<your-username>/WhatsappGroupMessager.git
- Navigate to the project's directory
cd WhatsappGroupMessager
- Install the project's dependencies
npm install
- Change the MESSAGE variable in
index.js
to your desired message.
const MESSAGE = <"YOUR MESSAGE">
- Run the Chatbot: Start the chatbot by running the following command:
node index.js
-
Scan the QR Code: The chatbot will generate a QR code. Scan this code with your WhatsApp mobile app to link your WhatsApp account with the chatbot.
-
Wait for the Bot to Start: After scanning the QR code, the chatbot will begin running and performing its tasks in your WhatsApp groups.