GithubHelp home page GithubHelp logo

sstudios-dev / ruriko-bot Goto Github PK

View Code? Open in Web Editor NEW
3.0 0.0 1.0 609 KB

multifunctional WhatsApp bot with javaScript using several libraries

Home Page: https://sstudiosdev.github.io/

License: MIT License

JavaScript 99.84% TypeScript 0.16%
anime-bot bot moderation-bot node-js whatsapp whatsapp-bot sstudiosdev

ruriko-bot's Introduction

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": "[email protected]",
    "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.

ruriko-bot's People

Stargazers

 avatar  avatar  avatar

ruriko-bot's Issues

Bug

there are some bugs in the owner commands sometimes they work and sometimes they don't but the bot is good.

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.