Skip to content

multifunctional WhatsApp bot with javaScript using several libraries

License

Notifications You must be signed in to change notification settings

Sstudios-Dev/Ruriko-Bot

Repository files navigation

BocchiBot

RurikoBot

RurikoBot is a versatile WhatsApp bot powered by the wa-automate-nodejs library! using the base code of BocchiBot

Working on this version ❤️

Installationweb pageNote

rquirements

  • Node.js - a cross-platform runtime environment
  • Git - version control software
  • FFmpeg - free software that can record, convert and stream audio and video
  • Tesseract - This package contains an OCR engine

Installation

📋 Clone the repository with the git tool

> git clone https://github.com/Sstudios-Dev/Ruriko-Bot.git

this step is very important for the bot to work that's why you need git this step must not be skipped

💻 change the configuration file

after cloning the repository you will find a file called config.example.json you have to rename that file to config.json and remove the .example from it this is a very important step for the bot to work and not give errors

{
    "ownerBot": "505xxxxxxxx@c.us",
    "prefix": "!",
    "nao": "SauceNAO-key",
    "openAiKey": "OpenAI-key",
    "authorStick": "@SstudiosDev",
    "packStick": "rurikoBot",
    "language": "Coming soon"
}

ownerBot: change the 505 to your country prefix and everything glued together Here

prefix: there you can change the bot prefix which defaults to !

nao: SauceNAO API key. Obtain it here by creating an account.

openAiKey: OpenAI API key. Obtain it here by creating an account.

authorStick: Title of the author sticker pack.

packStick: Title of the sticker pack.

🗣️ Language Modification

Replace all instances of eng with es for Spanish soon it will be possible to do that from the cofig.example.json

🛠️ FFmpeg Installation Guide

  • Click here to download one of the available FFmpeg versions.
  • Extract the downloaded file to the C:\ directory
  • Rename the extracted folder to ffmpeg.
  • Open Command Prompt with Administrator privileges.
  • Execute the following command:
> setx /m PATH "C:\ffmpeg\bin;%PATH%"

A confirmation message like SUCCESS: specified value was saved should appear.

  • To ensure FFmpeg is successfully installed, check its version by running the following command:
> tesseract -version

🚀 Installing Dependencies

> npm install

▶️ Launching the Bot

For regular node execution:

> npm start

PM2:

> pm2 start index.js -i max
> pm2 monit

Following that, scan the QR code using your WhatsApp on your phone.

🌟 Features

Type !menu or !help on your bot number to view the list of available commands.

Note

I would like to inform you that this code is not intended for sale. It is offered exclusively as an open source version with improved functionality and updates compared to the original version. The original version, including the bot's Terms of Service and copyright credits, have not been modified and are available for free here. We appreciate your interest and encourage you to take advantage of the more complete and improved version that we offer for free.

License

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