---
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
.env
file 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 install
To start the bot, use the following command:
npm start
Alternatively, you can use PM2 for process management:
npm run pm2
start:
Starts the bot with a specified memory limit.
npm start
pm2:
Starts the bot using PM2 with a specified name and memory limit.
npm run pm2
restart:pm2:
Restarts the bot managed by PM2.
npm run restart:pm2
stop: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
TQTO (Thanks To) is a part of this project to give appreciation to those who have contributed, provided assistance, or inspiration in the development of this project.
Thank you to the following individuals, communities and organizations who have helped us:
- Arifzyn XD - Lead developer and project owner, responsible for the main development and overall direction of the project.
- AmirulDev - Provided inspiration and valuable insights, especially in building bot functionalities using libraries like Baileys.
- DikaArdnt - Some parts of the codebase were inspired and adapted from his projects, particularly for bot features and backend structure.
This project is licensed under the MIT License. See the LICENSE file for details.
Feel free to replace ArifzynXD
in the installation instructions with your actual GitHub username or the correct repository link. You can also customize any sections as needed to better fit your project's specifics!