Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/mrfzvx12/whatsapp-bot

WhatsApp Bot, is an automated bot for game and information purposes running with nodejs
https://github.com/mrfzvx12/whatsapp-bot

baileys hacktoberfest2021 hacktoberfest2021-accepted javascript node-js whatsapp-bot whatsapp-web

Last synced: 5 days ago
JSON representation

WhatsApp Bot, is an automated bot for game and information purposes running with nodejs

Awesome Lists containing this project

README

        



















WHATSAPP BOT

WhatsApp bot is a robot will reply your messages Automatically, this bot is intended for **Public bots**, not for **~~Selfbots~~**, WhatsApp bot connects with WhatsApp web using [@adiwajshing/baileys](https://github.com/adiwajshing/Baileys)

For now bots can run using the termux application, You can download it here [Download](https://play.google.com/store/apps/details?id=com.termux)

After downloading, make sure everything is in the latest version, use
```bash
• apt update -y && apt upgrade -y
```
For perfect results you must have the original version of the WhatsApp application, it is not recommended to use the WhatsApp business application

***

### Example
You can try the bot first here for example

Multi-language for each user, meaning that the user can choose the language he wants to use

- [x] Indonesia
- [x] English
- [x] Jawa
- [x] Sunda
- [x] Arab
- [ ] Languages that will come later

You can open the language [In here](https://github.com/mrfzvx12/whatsapp-bot/tree/main/language)
***

### Installation

A. **PREPARE**
- **REST API**

First you need `APIKEY`, Login to get apikey on this site [HUJAN API](http://hujanapi.xyz/login), after login you have free apikey limit for 30days. copy apikey and paste on `database/setting-bot.json`

B. **RUNNING**
- **TERMUX USER**

```bash
• pkg install git
• pkg install ffmpeg
• pkg install nodejs
• git clone https://github.com/mrfzvx12/whatsapp-bot
• cd whatsapp-bot
• npm i
```
When everything is done, set the owner number in ```database/setting-bot.json``` or click [in here](https://github.com/mrfzvx12/whatsapp-bot/blob/3c92f24ea3b01f9af3e736795c9ccea7d76279ea/database/setting-bot.json#L3)

Default :
```
{
"ownerNumber": ["[email protected]"]
}
```
Save settings and proceed to the last stage
```bash
• npm start
```
When the QR appears, scan it using the WhatsApp application that will be used for bot
and done

***

- **RDP/VPS USER**

**First download tools**, Click icon to download !




**Announcement:**
Have a complaint or problem while installing the application? [Chat here](https://linktr.ee/HansAl1)

```bash
• git clone https://github.com/mrfzvx12/whatsapp-bot.git
• cd whatsapp-bot
• npm i
```
Setting owner number, and then
```bash
• npm start
```
When the QR appears, scan it using the WhatsApp application that will be used for bot
and done

***

- **UBUNTU USER**

For better experience

!! Using Termux Emulator, you can download [In Here](https://drive.google.com/file/d/1-1JM3nP98qozw45uhxnLCC4UQ95c08q5/view?usp=drivesdk)

`INSTALL UBUNTU`
```bash
• pkg update
• pkg install proot-distro
• proot-distro install ubuntu
• proot-distro login ubuntu
```
`UBUNTU`
```bash
• apt update && apt upgrade
• apt install git
• apt install nodejs
• apt install ffmpeg
• git clone https://github.com/mrfzvx12/whatsapp-bot
• npm i
```
Setting owner number, and then
```bash
• npm start
```
When the QR appears, scan it using the WhatsApp application that will be used for bot
and done

***

### Send Message
Example

Send message
```javascript
const { text } = MessageType
teks = 'Hello world'
client.sendMessage(from, teks, text)
```

Send message with reply
```javascript
m.reply('Hello world')
```

Send Button message
```javascript
text = 'Hello world'
desk = 'Click button'
button = 'Click here'
row = 'This button'
client.sendButton(from, text, desk, button, row)
```

### Feature

- [x] Multilingual
- [x] Voice Command
- [x] Group Setting
- [x] Antidelete, Antiviewonce, & Detect
- [x] Custom Welcome each group
- [x] On/Off Command in group
- [x] Game
- [x] Automatic Chatbot
- [x] Make sticker with image/video/gif
- [x] Absensi & Voting
- [ ] And much more

You can open menu [In here](https://github.com/mrfzvx12/whatsapp-bot/blob/main/functions/menu.js)

### WhatsApp Group
Get all informasi for updating, sharing & play bot



### Contact
For more detailed information, please contact me via social media below:





***

### Admin & Moderator
[![mrfzvx12](https://github.com/mrfzvx12.png?size=100)](https://github.com/mrfzvx12) | [![moo-d](https://github.com/moo-d.png?size=100)](https://github.com/moo-d)
----|----
[MrfZvx12](https://github.com/mrfzvx12) | [Moo-d](https://github.com/moo-d)

### Other Projects

**Baileys**
[![ReadMe Card](https://github-readme-stats.vercel.app/api/pin/?username=moo-d&repo=termux-whatsapp-bot&theme=buefy)](https://github.com/moo-d/termux-whatsapp-bot)

**Open-wa/wa-automate**
[![ReadMe Card](https://github-readme-stats.vercel.app/api/pin/?username=moo-d&repo=senkobot&theme=buefy)](https://github.com/moo-d/senkobot)

### Github Stats

### Language and tools




## License
[![FOSSA Status](https://app.fossa.com/api/projects/git%2Bgithub.com%2Fmrfzvx12%2Fwhatsapp-bot.svg?type=small)](https://app.fossa.com/projects/git%2Bgithub.com%2Fmrfzvx12%2Fwhatsapp-bot?ref=badge_small)
[![FOSSA Status](https://app.fossa.com/api/projects/git%2Bgithub.com%2Fmrfzvx12%2Fwhatsapp-bot.svg?type=large)](https://app.fossa.com/projects/git%2Bgithub.com%2Fmrfzvx12%2Fwhatsapp-bot?ref=badge_large)