Skip to content
/ whatsapp-bot Public template

WhatsApp Bot, is an automated bot for game and information purposes running with nodejs

License

Notifications You must be signed in to change notification settings

mrfzvx12/whatsapp-bot

Repository files navigation

WHATSAPP BOT

WhatsApp bot is a robot will reply your messages Automatically, this bot is intended for Public bots, not for Selfbots, WhatsApp bot connects with WhatsApp web using @adiwajshing/baileys

For now bots can run using the termux application, You can download it here Download

After downloading, make sure everything is in the latest version, use

• apt update -y && apt upgrade -y

For perfect results you must have the original version of the WhatsApp application, it is not recommended to use the WhatsApp business application


Example

You can try the bot first here for example

Multi-language for each user, meaning that the user can choose the language he wants to use

  • Indonesia
  • English
  • Jawa
  • Sunda
  • Arab
  • Languages that will come later

You can open the language In here


Installation

A. PREPARE

  • REST API

First you need APIKEY, Login to get apikey on this site HUJAN API, after login you have free apikey limit for 30days. copy apikey and paste on database/setting-bot.json

B. RUNNING

  • TERMUX USER
• pkg install git
• pkg install ffmpeg
• pkg install nodejs
• git clone https://github.com/mrfzvx12/whatsapp-bot
• cd whatsapp-bot
• npm i

When everything is done, set the owner number in database/setting-bot.json or click in here

Default :

{
	"ownerNumber": ["123@s.whatsapp.net"]
}

Save settings and proceed to the last stage

• npm start

When the QR appears, scan it using the WhatsApp application that will be used for bot and done


  • RDP/VPS USER

First download tools, Click icon to download !

Announcement: Have a complaint or problem while installing the application? Chat here

• git clone https://github.com/mrfzvx12/whatsapp-bot.git
• cd whatsapp-bot
• npm i

Setting owner number, and then

• npm start

When the QR appears, scan it using the WhatsApp application that will be used for bot and done


  • UBUNTU USER

For better experience

!! Using Termux Emulator, you can download In Here

INSTALL UBUNTU

• pkg update
• pkg install proot-distro
• proot-distro install ubuntu
• proot-distro login ubuntu

UBUNTU

• apt update && apt upgrade
• apt install git
• apt install nodejs
• apt install ffmpeg
• git clone https://github.com/mrfzvx12/whatsapp-bot
• npm i

Setting owner number, and then

• npm start

When the QR appears, scan it using the WhatsApp application that will be used for bot and done


Send Message

Example

Send message

const { text } = MessageType
teks = 'Hello world'
client.sendMessage(from, teks, text)

Send message with reply

m.reply('Hello world')

Send Button message

text = 'Hello world'
desk = 'Click button'
button = 'Click here'
row = 'This button'
client.sendButton(from, text, desk, button, row)

Feature

  • Multilingual
  • Voice Command
  • Group Setting
  • Antidelete, Antiviewonce, & Detect
  • Custom Welcome each group
  • On/Off Command in group
  • Game
  • Automatic Chatbot
  • Make sticker with image/video/gif
  • Absensi & Voting
  • And much more

You can open menu In here

WhatsApp Group

Get all informasi for updating, sharing & play bot

Contact

For more detailed information, please contact me via social media below:


Admin & Moderator

mrfzvx12 moo-d
MrfZvx12 Moo-d

Other Projects

Baileys ReadMe Card

Open-wa/wa-automate ReadMe Card

Github Stats

Language and tools

License

FOSSA Status FOSSA Status