Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/slavyandesu/bocchibot
BocchiBot is a multipurpose WhatsApp bot using wa-automate-nodejs library!
https://github.com/slavyandesu/bocchibot
automation bot downloader moderation-bot node-js whatsapp whatsapp-bot
Last synced: 6 days ago
JSON representation
BocchiBot is a multipurpose WhatsApp bot using wa-automate-nodejs library!
- Host: GitHub
- URL: https://github.com/slavyandesu/bocchibot
- Owner: SlavyanDesu
- License: mit
- Created: 2020-10-24T03:39:46.000Z (about 4 years ago)
- Default Branch: master
- Last Pushed: 2024-02-03T18:45:08.000Z (12 months ago)
- Last Synced: 2025-01-08T05:20:18.823Z (13 days ago)
- Topics: automation, bot, downloader, moderation-bot, node-js, whatsapp, whatsapp-bot
- Language: JavaScript
- Homepage:
- Size: 13 MB
- Stars: 315
- Watchers: 26
- Forks: 412
- Open Issues: 14
-
Metadata Files:
- Readme: README.md
- Funding: .github/FUNDING.yml
- License: LICENSE
- Code of conduct: .github/CODE_OF_CONDUCT.md
Awesome Lists containing this project
README
# **BocchiBot**
> BocchiBot is a multipurpose WhatsApp bot using wa-automate-nodejs library!
>
>
Made with ❤️ by
Requirements •
Installation •
Features •
Thanks to •
License# Requirements
* [Node.js](https://nodejs.org/en/)
* [Git](https://git-scm.com/downloads)
* [FFmpeg](https://www.gyan.dev/ffmpeg/builds/)
* [Tesseract](https://github.com/tesseract-ocr/tesseract)# Installation
## 📝 Cloning the repo
```cmd
> git clone https://github.com/SlavyanDesu/BocchiBot.git
> cd BocchiBot
```## ✍️ Editing the file
Edit the required value in `config.json`.
```json
{
"ownerBot": "[email protected]",
"prefix": ".",
"nao": "SAUCENAO-API-KEY",
"openAiKey": "OPENAI-API-KEY",
"authorStick": "@SlavyanDesu",
"packStick": "BocchiBot"
}
````ownerBot`: your WhatsApp number.
`prefix`: bot's prefix.
`nao`: SauceNAO API key. You can get it [here](https://saucenao.com/user.php) by creating an account.
`openAiKey`: OpenAI API key. You can get it [here](https://platform.openai.com/account/api-keys) by creating an account.
`authorStick`: name of the author sticker pack.
`packStick`: name of the sticker pack.## 🗣️ Changing Language
Replace all of `eng` to `ind` for Bahasa Indonesia.## 🛠️ Installing the FFmpeg
* Download one of the available versions of FFmpeg by clicking [this link](https://www.gyan.dev/ffmpeg/builds/).
* Extract the file to `C:\` path.
* Rename the extracted folder to `ffmpeg`.
* Run Command Prompt as Administrator.
* Run this command:
```cmd
> setx /m PATH "C:\ffmpeg\bin;%PATH%"
```
It will give us a callback like `SUCCESS: specified value was saved`.
* Now that you've FFmpeg installed, verify that it's working by running this command to see version number:
```cmd
> ffmpeg -version
```## 🛠️ Installing the Tesserract
* Download the Tesseract program [here](https://s.id/vftesseract).
* Run the Tesseract program with run As Administrator.
* Make sure the Tesseract installation is in the `C:\` folder
* Run Command Prompt as Administrator.
* Run this command:
```cmd
> setx /m PATH "C:\Tesseract-OCR;%PATH%"
```
It will give us a callback like `SUCCESS: specified value was saved`.
* Now that you've Tesseract installed, verify that it's working by running this command to see version number:
```cmd
> tesseract -version
```## 🔍 Installing the dependencies
```cmd
> npm install
```## 🆗 Running the bot
Regular node:
```cmd
> npm start
```PM2:
```cmd
> pm2 start index.js -i max
> pm2 monit
```After that scan the QR code using your WhatsApp in your phone.
# Features
Type `.help` to your bot number to see the list of commands.# Thanks to
* [`open-wa/wa-automate-nodejs`](https://github.com/open-wa/wa-automate-nodejs)
* [`YogaSakti/imageToSticker`](https://github.com/YogaSakti/imageToSticker)
* [`uukina`](https://github.com/uukina)
* [`VideFrelan`](https://github.com/VideFrelan)
* [`Pahri123`](https://github.com/Pahri123)
* [`LeviathanH`](https://github.com/LeviathanH)
* [`ferlitopym`](https://github.com/ferlitopym)
* [`AlvioAdjiJanuar`](https://github.com/Piyoxz)
* [`VirusLauncher`](https://github.com/VirusLauncher)
* [`Sansekai`](https://github.com/Sansekai)
* [`Baguettou`](https://github.com/Baguettou)
* [`HAFizh-15`](https://github.com/HAFizh-15)
* [`TheSploit`](https://github.com/TheSploit)
* [`rashidsiregar28`](https://github.com/rashidsiregar28)
* [`irham01`](https://github.com/irham01)
* [`hardiantojek93`](https://github.com/hardiantojek93)
* [`gamingrkp`](https://github.com/gamingrkp)# License
**BocchiBot** © [SlavyanDesu](https://github.com/SlavyanDesu), released under the MIT License.
Authored and maintained by SlavyanDesu.