Whatsapp bot with Typescript Convert to js Lmao 🤣

Overview

Rain-BotV2

Join Group

Group Bot

ONLY RUN RAILWAY

railway.app

Deploy to Heroku

Deploy

✍️ Editing the file

Edit the required value in config.js

Heroku Buildpack

BuildPack LINK
FFMPEG here
IMAGEMAGICK here

Note

not for termux

FOR TERMUX USER

  1. Type mentioned below given commands one by one in Termux.
$ pkg upgrade && pkg update
$ pkg install git -y
$ pkg install nodejs -y
$ pkg install ffmpeg -y
$ pkg install imagemagick -y
$ git clone https://github.com/Rizxyu/Rain-BotV2
$ cd Rain-BotV2
$ npm i 
$ node .
  1. Wait for bot starting...
  2. Scan QR code from 2nd device. (Go to whatsapp > Linked Devices > Join Multi Device Beta > Click on link device)
  3. Now your bot is ready to rock n roll.

If npm install failed, try using yarn instead of npm

$ pkg install yarn -y
$ yarn install

INSTALL ON TERMUX WITH UBUNTU

[ INSTALLING UBUNTU ]

apt update && apt full-upgrade
apt install wget curl git proot-distro
proot-distro install ubuntu
echo "proot-distro login ubuntu" > $PREFIX/bin/ubuntu
ubuntu

[ INSTALLING REQUIRED PACKAGES ]

ubuntu
apt update && apt full-upgrade
apt install wget curl git ffmpeg imagemagick build-essential libcairo2-dev libpango1.0-dev libjpeg-dev libgif-dev librsvg2-dev dbus-x11 ffmpeg2theora ffmpegfs ffmpegthumbnailer ffmpegthumbnailer-dbg ffmpegthumbs libavcodec-dev libavcodec-extra libavcodec-extra58 libavdevice-dev libavdevice58 libavfilter-dev libavfilter-extra libavfilter-extra7 libavformat-dev libavformat58 libavifile-0.7-bin libavifile-0.7-common libavifile-0.7c2 libavresample-dev libavresample4 libavutil-dev libavutil56 libpostproc-dev libpostproc55 graphicsmagick graphicsmagick-dbg graphicsmagick-imagemagick-compat graphicsmagick-libmagick-dev-compat groff imagemagick-6.q16hdri imagemagick-common libchart-gnuplot-perl libgraphics-magick-perl libgraphicsmagick++-q16-12 libgraphicsmagick++1-dev

[ INSTALLING NODEJS & Rain-BotV2 ]

ubuntu
curl -fsSL https://deb.nodesource.com/setup_current.x | sudo -E bash -
apt install -y nodejs gcc g++ make
git clone https://github.com/Rizxyu/Rain-BotV2
cd Rain-BotV2
npm install
npm update

FOR WINDOWS/VPS/RDP USER

  • Download And Install Git Click Here
  • Download And Install NodeJS Click Here
  • Download And Install FFmpeg Click Here (Don't Forget Add FFmpeg to PATH enviroment variables)
  • Download And Install ImageMagick Click Here
git clone https://github.com/Rizxyu/Rain-BotV2
cd Rain-BotV2
npm install
npm update

Run

node .

Arguments node . [--options] [<session name>]

--self

Activate self mode (Ignores other)

--pconly

If that chat not from private bot, bot will ignore

--gconly

If that chat not from group, bot will ignore

--swonly

If that chat not from status, bot will ignore

--prefix <prefixes>

  • prefixes are seperated by each character Set prefix

--server

Used for heroku or scan through website

--restrict

Enables restricted plugins (which can lead your number to be banned if used too often)

  • Group Administration add, kick

--img

Enable image inspector through terminal

--autoread

If enabled, all incoming messages will be marked as read

--autocleartmp

If enabled, *tmp folder contain files will be auto delete

--nyimak

No bot, just print received messages and add users to database

--test

Development Testing Mode


How To Customise Message Display

// Syntax
conn.sendButton(
      jid, // jid of the user to send the message to
      text, // text to send
      foooter, // footer to send
      buffer, // buffer to send (optional), if you want to send button image, location, etc
      buttons, // buttons to send, example [['text1', 'id1'], ['text2', 'id2']]
      quoted, // quoted message to send (optional)
      options // options to send, example { asLocation: true }
)

// example 
conn.sendButton(m.chat, 'Hello world!', '@BochilGaming', null, [
      ['Hello', 'hello'], ['Bye', 'bye']
])
// example button location
conn.sendButton(m.chat, 'Hello world!', '@BochilGaming', 'https://github.com/BochilGaming', 
      [['Hello', 'hello'], ['Bye', 'bye']], 
      null, { asLocation: true }
)

want to contribute?

  1. fork this repository
  2. Change/edit/create what you want. for example you can add features, fix bug, etc
  3. test before making a pull req!!
  4. make a pull req!
  5. if your pull req is already in acc/merge, you can delete your branch or you can create pull req again :)

Thanks To

Allah SWT,

Orang Tua,

Semua yang selalu mendukung

Special Thanks to

Nurutomo BochilGaming Rizxyu ibrahKrep

You might also like...

A javascript based whatsapp bot for downloading and sending media from youtube and facebook in different formats alongwith couple of other features.

Whatsmazan Available Features Downlaod youtube mp4 Video and send Downlaod youtube mp3 audio and send Search something from youtube Downlaod facebook

Oct 30, 2022

Whatsapp BOT Multi Device menggunakan module baileys-md. Give this repo a star 🌠⭐🌟

README English Version • About • Installation • Thanks to • Donate Official Group Bot • Settings About Anon-BOT adalah pengembangan sourcecode yang be

Sep 26, 2022

A Moduler Advanced Whatsapp Bot in NodeJs.

A Moduler Advanced Whatsapp Bot in NodeJs.

Secktor 🖤 Deploy on heroku | Read the Documentation 📚 Introducing Secktor,Secktor is designed to bring a whole new level of excitement to your borin

Dec 26, 2022

World Best Multi-device Whatsapp Bot. Created by Vihanga-YT

World Best Multi-device Whatsapp Bot. Created by Vihanga-YT

By Vihanga YT| © | Reserved ASTRO-BOT-MD-V1.0 TOTAL REPO VIEWS 📍 [©] AstroBot-MD New Features Playstore Apk Downloder [.downapk] Playstore Apk

Jan 7, 2023

WhatsApp BOT - New Updates ✅

WhatsApp BOT - New Updates ✅

Simple WhatsApp BOT by @yusuf.dkv Explore the docs Warning Script ini sudah tidak dilanjutkan lagi © ReynaBOT ReynaBOT adalah BOT yang dibuat oleh m

May 6, 2023

ChatMore: A web chatapp like Whatsapp - Made in Typescript, React and Supabase

ChatMore: A web chatapp like Whatsapp - Made in Typescript, React and Supabase

ChatMore This project is a chatapp made in React. On the main page we can authenticate, and then add todos to the our list. The ultimate goal of this

Jan 3, 2023

Yunisdev-table2csv - Lightweight library to convert HTML table to CSV file

Installation Add following HTML before body end: script src="https://yunisdev.github.io/table2csv/table2csv.min.js"/script !-- or -- script src

Oct 19, 2020

Convert JSON to human readable HTML

json.human.js: Json Formatting for Human Beings A small library to convert a JSON object into a human readable HTML representation that is easy to sty

Dec 3, 2022

convert markdown to html in under 5kb

convert markdown to html in under 5kb

convert markdown to HTML in under 5kb take a look at the to PHP translated version: https://github.com/SimonWaldherr/micromarkdown.php about License:

Dec 8, 2022
Owner
Rizky
Life is full of obstacles, And it doesn't go your way
Rizky
Convert some JavaScript/TypeScript code string into a .d.ts TypeScript Declaration code string

convert-to-dts Converts the source code for any .js or .ts file into the equivalent .d.ts code TypeScript would generate. Usage import { convertToDecl

Lily Scott 11 Mar 3, 2022
This package creates embeds and buttons in a very simple way using the whatsapp-web.js module for whatsapp

This package creates embeds and buttons in a very simple way using the whatsapp-web.js module for whatsapp

DeathAbyss 17 Jan 3, 2023
Hola bienvenido al the LoliBot-MD aquí se hacer actualizaciónes de bot. Bot que funciona el (WhatsApp multidivice) espero que te guste😊

Esta versión de THE LOLIBOT-MD casi está terminada. ✨ —◉ DUDAS SOBRE EL BOT?, CONTACTAME ✨ Quieres tener un bot 24/7 activo ?? ACTIVAR EN HEROKU ☂️ PA

The Lolibot-MD 34 Dec 26, 2022
Convert and Calculate by RPN for typescript.

Coaca.ts: Convert and Calculate by RPN for typescript 注意点 まずそもそも、typescriptはサーバサイドで使用されるべき言語です。一応typescript4.5以降の機能を用いていますが、typescriptの本来の使い方を超越してます。ご

赤紫 2 Aug 24, 2022
A whatsapp bot made using adiwajshing/Baileys-md Libary

A whatsapp bot made using adiwajshing/Baileys-md Libary

Reysekha 11 Apr 18, 2022
Script WhatsApp Bot Multi Device

KIKI VZ Script WhatsApp Bot Multi Device NOTE This Script is for everyone, not for Sale vraabot-MD This is Script of WhatsApp multi device, working wi

kiki vz. 4 Nov 2, 2022
This Is a Whatsapp Bot Made By Turbo Do Not Recode

This Is a Whatsapp Bot Made By Turbo Do Not Recode

TURBOMODS 7 Dec 6, 2022
Hydra bot is an open source project developed by the JavaScript community with the aim of exporting functions from WhatsApp Web to the node js

The most reliable WhatsApp tool for chatbots with advanced features. Hydra bot is an open source project developed by the JavaScript community with the aim of exporting functions from WhatsApp Web to the node js, . The most complete javascript library for Whatsapp, 100% Open Source.

Jónalan de Lima 47 Dec 25, 2022
Garfield Whatsapp 🐼 Userbot is a button 🦋 bot that operates 24×7 Hour powered By X-nodes server

GARFIELD WHATSAPP USER BOT LATEST VERSION (Button Update ?? And 24×7 hour Working ?? ) New Features and upgrades v8.0 ?? ?? Bot continues to work even

NOIZ Ξ 33 Dec 4, 2022