BocchiBot
BocchiBot is a multipurpose WhatsApp bot using wa-automate-nodejs library!
Install / Use
/learn @SlavyanDesu/BocchiBotREADME
BocchiBot
<h3>Made with ❤️ by</h3>BocchiBot is a multipurpose WhatsApp bot using wa-automate-nodejs library!
<a href="https://github.com/SlavyanDesu"><img src="https://avatars.githubusercontent.com/u/28254882?v=4" height="128" width="128" /></a> <a href="https://github.com/Piyoxz"><img src="https://avatars.githubusercontent.com/u/102013178?v=4" height="128" width="128" /></a> <a href="https://github.com/VideFrelan"><img src="https://avatars.githubusercontent.com/u/76523793?v=4" height="128" width="128" /></a> <a href="https://github.com/Sansekai"><img src="https://avatars.githubusercontent.com/u/34540627?v=4" height="128" width="128" /></a>
<a href="https://github.com/SlavyanDesu"><img title="Author" src="https://img.shields.io/badge/Author-SlavyanDesu-purple.svg?style=for-the-badge&logo=github" /></a>
<img src="https://img.shields.io/npm/v/@open-wa/wa-automate.svg?color=green"/> <img src="https://img.shields.io/node/v/@open-wa/wa-automate"/> <img src="https://img.shields.io/github/repo-size/SlavyanDesu/BocchiBot" /> <br> <a href="https://app.fossa.com/projects/git%2Bgithub.com%2FSlavyanDesu%2FBocchiBot?ref=badge_shield" alt="FOSSA Status"><img src="https://app.fossa.com/api/projects/git%2Bgithub.com%2FSlavyanDesu%2FBocchiBot.svg?type=shield"/></a> <a href="https://www.codefactor.io/repository/github/SlavyanDesu/BocchiBot"><img src="https://www.codefactor.io/repository/github/SlavyanDesu/BocchiBot/badge"/></a><a href="https://github.com/SlavyanDesu/BocchiBot#requirements">Requirements</a> • <a href="https://github.com/SlavyanDesu/BocchiBot#installation">Installation</a> • <a href="https://github.com/SlavyanDesu/BocchiBot#features">Features</a> • <a href="https://github.com/SlavyanDesu/BocchiBot#thanks-to">Thanks to</a> • <a href="https://github.com/SlavyanDesu/BocchiBot#license">License</a>
</div>Requirements
Installation
📝 Cloning the repo
> git clone https://github.com/SlavyanDesu/BocchiBot.git
> cd BocchiBot
✍️ Editing the file
Edit the required value in config.json.
{
"ownerBot": "62812xxxxxxxx@c.us",
"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 by creating an account.
openAiKey: OpenAI API key. You can get it here 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.
- Extract the file to
C:\path. - Rename the extracted folder to
ffmpeg. - Run Command Prompt as Administrator.
- Run this command:
> 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:
> ffmpeg -version
🛠️ Installing the Tesserract
- Download the Tesseract program here.
- 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:
> 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:
> tesseract -version
🔍 Installing the dependencies
> npm install
🆗 Running the bot
Regular node:
> npm start
PM2:
> 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-nodejsYogaSakti/imageToStickeruukinaVideFrelanPahri123LeviathanHferlitopymAlvioAdjiJanuarVirusLauncherSansekaiBaguettouHAFizh-15TheSploitrashidsiregar28irham01hardiantojek93gamingrkp
License
BocchiBot © SlavyanDesu, released under the MIT License. Authored and maintained by SlavyanDesu.
<div align="center"> <a href="https://app.fossa.com/projects/git%2Bgithub.com%2FSlavyanDesu%2FBocchiBot?ref=badge_large"><img src="https://app.fossa.com/api/projects/git%2Bgithub.com%2FSlavyanDesu%2FBocchiBot.svg?type=large" /> </div>