Code Monkey home page Code Monkey logo

bocchibot's Introduction

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

bocchibot's People

Contributors

dependabot[bot] avatar hardianto01 avatar irham01 avatar ohsyme avatar piyoxz avatar rashiiddsr avatar sansekai avatar slavyandesu avatar thesploit avatar videfrelan avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.