MCPcopy Index your code
hub / github.com/SlavyanDesu/BocchiBot

github.com/SlavyanDesu/BocchiBot @v1.5.0

Chat with this repo
repository ↗ · DeepWiki ↗ · release v1.5.0 ↗ · + Follow
58 symbols 74 edges 21 files 0 documented · 0% updated 15mo agov1.5.0 · 2023-04-23★ 3455 open issues
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

BocchiBot

BocchiBot

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

Made with ❤️ by

RequirementsInstallationFeaturesThanks toLicense

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

License

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

Core symbols most depended-on inside this repo

color
called by 96
tools/index.js
processTime
called by 7
tools/index.js
isUrl
called by 5
tools/index.js
uploadImages
called by 4
tools/fetcher.js
fetchJson
called by 3
tools/fetcher.js
pad
called by 3
message/index.js
createSerial
called by 2
tools/index.js
start
called by 1
index.js

Shape

Function 58

Languages

TypeScript100%

Modules by API surface

function/register.js9 symbols
function/level.js8 symbols
tools/index.js7 symbols
function/premium.js6 symbols
function/afk.js6 symbols
function/reminder.js4 symbols
function/loader.js3 symbols
function/limit.js3 symbols
tools/fetcher.js2 symbols
message/index.js2 symbols
lib/weeaboo.js2 symbols
lib/downloader.js2 symbols

For agents

$ claude mcp add BocchiBot \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact