Skip to content
项目

关于

BocchiBot is a multipurpose WhatsApp bot using wa-automate-nodejs library!

开发工具

这些数字如何统计

实测星标增长

24小时
+1
7天
+1
15天
+1
1个月
正在收集历史

各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。

README.md

原文
BocchiBot

BocchiBot

BocchiBot is a multipurpose WhatsApp bot using wa-automate-nodejs library!

Made with ❤️ by


Requirements • Installation • Features • Thanks to • License

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": "[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 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

License

BocchiBot © SlavyanDesu, released under the MIT License. Authored and maintained by SlavyanDesu.

探索相关项目

加载中…