Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/arasea2/ely-md

Simple whatsapp bot Multi Device made with baileys
https://github.com/arasea2/ely-md

baileys baileys-bot baileys-md bot bot-whatsapp bot-whatsapp-multi-device multi-device multidevice-bot rpg rpg-game termux websocket whatsapp whatsapp-web

Last synced: about 15 hours ago
JSON representation

Simple whatsapp bot Multi Device made with baileys

Awesome Lists containing this project

README

        

# ely-md








## Join Group
[![Grup WhatsApp](https://img.shields.io/badge/WhatsApp%20Group-25D366?style=for-the-badge&logo=whatsapp&logoColor=white)](https://chat.whatsapp.com/CL7xXeQuKZ45jtG6bnvX7Q)
**NO BOT**

#### Deploy to Heroku
[![Deploy](https://www.herokucdn.com/deploy/button.svg)](https://heroku.com/deploy?template=https://github.com/arasea2/ely-md)

#### Deploy to Koyeb
[![Deploy to Koyeb](https://www.koyeb.com/static/images/deploy/button.svg)](https://app.koyeb.com/services/deploy?name=ely2-wabot&privileged=true&type=git&repository=arasea2/ely-md&branch=main&builder=dockerfile)

#### Heroku Buildpack
| BuildPack | LINK |
|--------|--------|
| **FFMPEG** |[here](https://github.com/jonathanong/heroku-buildpack-ffmpeg-latest) |
| **IMAGEMAGICK** | [here](https://github.com/DuckyTeam/heroku-buildpack-imagemagick) |

### FOR TERMUX USER
1. Type mentioned below given commands one by one in Termux.
```sh
$ 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 ely2
$ npm i
```
If error try using yarn instead of npm, see [here](https://github.com/arasea2/ely-md/tree/multi-device#if-npm-install-failed--try--using-yarn-instead-of-npm)
```sh
$ node .
```
2. Wait for bot starting...
3. Scan QR code from 2nd device. (Go to whatsapp > Linked Devices > Click on `link device`)
4. Now your bot is ready to rock n roll.

#### If npm install failed, try using yarn instead of npm
```sh
$ pkg install yarn -y
$ yarn install
```
---------

## INSTALL ON TERMUX WITH UBUNTU

[ INSTALLING UBUNTU ]

```bash
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 ]

```bash
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]

```bash
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 ely2
npm install
npm update
```

---------

## FOR WINDOWS/VPS/RDP USER

* Download And Install Git [`Click Here`](https://git-scm.com/downloads)
* Download And Install NodeJS [`Click Here`](https://nodejs.org/en/download)
* Download And Install FFmpeg [`Click Here`](https://ffmpeg.org/download.html) (**Don't Forget Add FFmpeg to PATH enviroment variables**)
* Download And Install ImageMagick [`Click Here`](https://imagemagick.org/script/download.php)

```bash
git clone https://github.com/arasea2/ely-md
cd ely2
npm install
npm update
```

---------

## Arguments `node . [--options] []`
### `Contoh: node . --pairing`

### `--pairing`
Link device via pairing

### `--mobile`
Link device via mobile captcha (blm tes, rawan ban katanya)

### `--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](https://heroku.com/) 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..
```js
global.mods = ['6282337245566']
```
> Contoh nomor `6282337245566`, bisa add lebih dari 1

---------

#### Base From :
[![clicknetcafe](https://github.com/clicknetcafe.png?size=100)](https://github.com/clicknetcafe)

#### Original Base From :
[![BochilGaming](https://github.com/BochilGaming.png?size=100)](https://github.com/BochilGaming)