Simple WhatsApp Bot
apt update && apt upgrade
apt install git -y
apt install nodejs -y
apt install ffmpeg -y
apt install imagemagick -y
git clone https://github.com/LitRHap/wabot
cd wabot-aq
npm install
npm i hmtai
npm i booru
npm i image-to-pdf
npm i nhentai-node-api
npm i acrcloud
npm i sagiri
npm update
- Download And Install Git
Click Here
- Download And Install NodeJS
Click Here
- Download And Install FFmpeg
Click Here
(Don't Forget Add FFmpeg to PATH enviroment variables) - Download And Install ImageMagick
Click Here
git clone https://github.com/LitRHap/wabot
cd wabot-aq
npm install
npm update
node .
Activate self mode (Ignores other)
If that chat not from private bot, bot will ignore
If that chat not from group, bot will ignore
If that chat not from status, bot will ignore
prefixes
are seperated by each character Set prefix
Used for heroku or scan through website
Use external db instead of local db,
Example Server https://json-server.nurutomo.repl.co/
Code: https://repl.it/@LitRHap/json-server
node . --db 'https://json-server.litrhap.repl.co/'
The server should have like this specification
GET /
Accept: application/json
POST /
Content-Type: application/json
{
data: {}
}
If small qr unicode doesn't support
Enables restricted plugins (which can lead your number to be banned if used too often)
- Group Administration
add, kick
Enable image inspector through terminal
If enabled, all incoming messages will be marked as read
No bot, just print received messages and add users to database
Development Testing Mode
conn.logger.level = 'trace'
conn.logger.level = 'debug'
*Allah SWT*,
*Orang Tua*,
*dan..*
[![Nurutomo](https://github.com/Nurutomo.png?size=100)](https://github.com/Nurutomo)
[![LitRhap](https://github.com/LitRHap.png?size=100)](https://github.com/LitRHap)
[![Akumayuki](https://github.com/Akumayuki.png?size=100)](https://github.com/Akumayuki)