Skip to content
/ ely-md Public

Whatsapp Bot with multi-function menu and multi-device (MD) support in Node.JS made using lightweight Baileys module

License

Notifications You must be signed in to change notification settings

arasea2/ely-md

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Ely-MD ESM

Bot WhatsApp Number NO BOT

Deploy to Heroku

Deploy

Deploy to Koyeb

Deploy to Koyeb

Heroku Buildpack

BuildPack LINK
FFMPEG here
IMAGEMAGICK here

FOR TERMUX USER

  1. Type mentioned below given commands one by one in Termux.
$ pkg upgrade && pkg update
$ pkg install git -y
$ pkg install nodejs -y
$ pkg install ffmpeg -y
$ pkg install imagemagick -y
$ git clone https://github.com/arasea2/ely-md -b multi-device
$ cd ely-md
$ npm i 

If error try using yarn instead of npm, see here

$ node .
  1. Wait for bot starting...
  2. Scan QR code from 2nd device. (Go to whatsapp > Linked Devices > Click on link device)
  3. Now your bot is ready to rock n roll.

If npm install failed, try using yarn instead of npm

$ pkg install yarn -y
$ yarn install

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 & ely-md]

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/arasea2/ely-md
cd ely-md
npm install
npm install cheerio@1.0.0-rc.12
npm start

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/arasea2/ely-md
cd ely-md
npm install
npm install cheerio@1.0.0-rc.12
npm start

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

Contoh: node . --pairing

--pairing

Link device via pairing

--self

Mode self (gak ada yang bisa gunakan, kecuali nomor bot dan owner)

--pconly

Bot cuma bisa dipakai di Private Chat (kecuali user premium)

--gconly

Bot cuma bisa dipakai di Grup (kecuali user premium)

--swonly

bot cuma respon dari status

--server

Untuk heroku atau scan lewat website

--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

Autoread pesan

--autocleartmp

If enabled, tmp folder contain files will be auto delete

--nyimak

Bot nyimak doang, nampilin pesan di console dan add user ke database

--test

Development Testing Mode

--db

pass mongodb url or cloud url to connect to database, by the default it will connect to database.json


Cara set Nomor Owner ?

Via command: .addrealowner saat bot berjalan, atau set dalam file config.js, di global.mods..

global.mods = ['6287815756002']

Contoh nomor 6287815756002, bisa add lebih dari 1


Thanks To

clicknetcafe BochilGaming WhiskeySockets arasea2

Contributor

arasea2


About

Whatsapp Bot with multi-function menu and multi-device (MD) support in Node.JS made using lightweight Baileys module

Topics

Resources

License

Stars

Watchers

Forks