Skip to content

Ini merupakan codingan dari wabot-aq yang telah saya ubah sebagian saja seperti menu dll Sedang Maintance

License

Notifications You must be signed in to change notification settings

Bintangp02/wabot-aq02

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

wabot-aq

Simple WhatsApp Bot

HEROKU

**langkah pertama**

*1.buat akun atau login diheroku!
*2.ikuti angkah langkah dari web heroku
*3.[buat app atau klik tulisan ini](https://dashboard.heroku.com/new-app)
*4.nama kan app tersebut contoh wabot-aq123
*5.setelahnya ikuti penjelasan di bawah ini!!
  1. Add Buildpack
> nodejs
> https://github.com/jonathanong/heroku-buildpack-ffmpeg-latest
> https://github.com/steeple-org/heroku-buildpack-imagemagick
  1. Delpoy

Click Here For Tutorial

  1. Change Dyno

CHANGE SESSION

  1. Put your session here

CHANGE SETING

  1. nama owner + no hp
  2. merubah tempilan menu
  3. merubah owner dan user prem note : edit di repository milik kalian sendiri

Deploy

FOR TERMUX/UBUNTU/SSH USER

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/bintangp02/wabot-aq02
cd wabot-aq02
npm install
npm update

INSTALL ON TERMUX WITH UBUNTU

[ INSTALLING UBUNTU ]

apt update && apt full-upgrade
apt install wget curl git proot-distro
proot-distro install ubuntu
echo "proot-distro login ubuntu" > $PREFIX/bin/ubuntu
ubuntu

[ INSTALLING REQUIRED PACKAGES ]

ubuntu
apt update && apt full-upgrade
apt install wget curl git ffmpeg imagemagick build-essential libcairo2-dev libpango1.0-dev libjpeg-dev libgif-dev librsvg2-dev dbus-x11 ffmpeg2theora ffmpegfs ffmpegthumbnailer ffmpegthumbnailer-dbg ffmpegthumbs libavcodec-dev libavcodec-extra libavcodec-extra58 libavdevice-dev libavdevice58 libavfilter-dev libavfilter-extra libavfilter-extra7 libavformat-dev libavformat58 libavifile-0.7-bin libavifile-0.7-common libavifile-0.7c2 libavresample-dev libavresample4 libavutil-dev libavutil56 libpostproc-dev libpostproc55 graphicsmagick graphicsmagick-dbg graphicsmagick-imagemagick-compat graphicsmagick-libmagick-dev-compat groff imagemagick-6.q16hdri imagemagick-common libchart-gnuplot-perl libgraphics-magick-perl libgraphicsmagick++-q16-12 libgraphicsmagick++1-dev

[ INSTALLING NODEJS & WABOT-AQ ]

ubuntu
curl -fsSL https://deb.nodesource.com/setup_current.x | sudo -E bash -
apt install -y nodejs gcc g++ make
git clone https://github.com/Nurutomo/wabot-aq
cd wabot-aq
npm install
npm update

FOR WINDOWS/VPS/RDP USER

  • 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/Nurutomo/wabot-aq
cd wabot-aq
npm install
npm update

Run

node .

Arguments node . [--options] [<session name>]

--self

Activate self mode (Ignores other)

--pconly

If that chat not from private bot, bot will ignore

--gconly

If that chat not from group, bot will ignore

--swonly

If that chat not from status, bot will ignore

--prefix <prefixes>

  • prefixes are seperated by each character Set prefix

--server

Used for heroku or scan through website

--db <json-server-url>

Use external db instead of local db, Example Server https://json-server.nurutomo.repl.co/ Code: https://repl.it/@Nurutomo/json-server

node . --db 'https://json-server.nurutomo.repl.co/'

The server should have like this specification

GET

GET /
Accept: application/json

POST

POST /
Content-Type: application/json

{
 data: {}
}

--big-qr

If small qr unicode doesn't support

--restrict

Enables restricted plugins (which can lead your number to be banned if used too often)

  • Group Administration add, kick

--img

Enable image inspector through terminal

--autoread

If enabled, all incoming messages will be marked as read

--nyimak

No bot, just print received messages and add users to database

--test

Development Testing Mode

--trace

conn.logger.level = 'trace'

--debug

conn.logger.level = 'debug'

Nurutomo Bintang
XTEAM Nurutomo Bintang
Powered by XTEAM Author / Creator Recoder wabot-aq

About

Ini merupakan codingan dari wabot-aq yang telah saya ubah sebagian saja seperti menu dll Sedang Maintance

Topics

Resources

License

Stars

Watchers

Forks

Sponsor this project

Packages

No packages published

Languages