Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/mrfzvx12/whatsapp-bot
- Owner: mrfzvx12
- License: mit
- Created: 2021-10-22T10:06:03.000Z (about 3 years ago)
- Default Branch: main
- Last Pushed: 2024-04-14T22:42:51.000Z (7 months ago)
- Last Synced: 2024-04-18T04:48:35.314Z (7 months ago)
- Topics: baileys, hacktoberfest2021, hacktoberfest2021-accepted, javascript, node-js, whatsapp-bot, whatsapp-web
- Language: JavaScript
- Homepage: https://www.instagram.com/mrf.zvx
- Size: 5.53 MB
- Stars: 26
- Watchers: 6
- Forks: 32
- Open Issues: 10
-
Metadata Files:
- Readme: README.md
- Funding: FUNDING.yml
- License: LICENSE
- Security: SECURITY.md
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 exampleMulti-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 laterYou 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
ExampleSend 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 moreYou 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
## 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)