Bot Sticker Buat Whatsapp
- follow the instruction on this repo : https://github.com/open-wa/wa-automate-nodejs
- install pm2
npm install pm2@latest -g
- install all dependencies
npm install
- create .env file
cp .env.exampe .env
- edit .env file
BOT_NAME=BardizBot
BOT_START_TERM=start
BOT_INTERNAL_HANDLER=true
BOT_EXTERNAL_HANDLER=true
BOT_IDENTIFIER=BardizBotWA
API_WEBHOOK=http://127.0.0.1:8081/webhook
DB_NAME="wa-bot"
ADMIN_NUMBER=6281414015xxxxx #mandatory
- First time run :
node index.js
- scan QRCode using whatsapp on your phone
- CTRL + C to close the server
- run index.js using pm2
pm2 start index.js