AR-BASE is a WhatsApp bot designed to auto-reply. It uses the Baileys library to interact with the WhatsApp Web API and is easy to set up and use.
- Light and efficient performance.
- Command system that supports various functions.
To configure the bot, you need to create a .env file in the project's root directory. This file contains all the environment variables needed to run the bot properly. You can use
- Copy files
.env.example: Inside the project's root directory, find a file named.env.example. Copy this file and rename it.env.
cp .env.example .env- Fill in the environment variables:
Open the
.envfile you just created and fill in the values in the file.
- Clone the repository:
git clone https://github.com/Arifzyn19/AR-BASE.git
cd AR-BASE- Install the dependencies:
npm installTo start the bot, use the following command:
npm startAlternatively, you can use PM2 for process management:
npm run pm2start: Starts the bot with a specified memory limit.
npm startpm2: Starts the bot using PM2 with a specified name and memory limit.
npm run pm2restart:pm2: Restarts the bot managed by PM2.
npm run restart:pm2stop:pm2: Stops the bot managed by PM2.
npm run stop:pm2├── LICENSE
├── README.md
├── eslint.config.js
├── package-lock.json
├── package.json
├── commands
├── src
│ ├── configs
│ │ ├── config.js
│ │ ├── database.js
│ │ ├── helper.js
│ │ ├── localdb.js
│ │ └── plugins.js
│ ├── events
│ │ ├── connection.js
│ │ ├── groups.js
│ │ └── messages.js
│ ├── handler.js
│ ├── index.js
│ └── lib
│ ├── client.js
│ ├── color.js
│ ├── emoji.js
│ ├── function.js
│ ├── serialize.js
│ └── sticker.js
└── temp
This project is licensed under the MIT License. See the LICENSE file for details.