Vinnybrunn00 / whatsapp-bot

This WhatsApp bot, written in Javascript, with several useful features for groups.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Clone the repository in Ubuntu

> git clone https://github.com/Vinnybrunn00/Bot_Whatsapp_Sticker.git
> cd Bot_Whatsapp_Sticker

Cloning the repository in Windows

> git clone https://github.com/Vinnybrunn00/Bot_Whatsapp_Sticker.git
> cd Bot_Whatsapp_Sticker

Install tesseract in portuguese - Ubuntu

> sudo apt-get install tesseract-ocr-por -y

Note

Note that in the code, there is a condition that prevents it from running on Windows, tesseract uses command lines, so I don't know if it will work well on Windows.

Code:

// send audio google
if (command.slice(0, 6) === '!voice') {
    if (os.platform() !== 'linux') return;
...
}

Installation

ATTENTION: When cloning the Bot_Whatsapp_Sticker install the modules:

> npm i

If there is an error in the installation, delete the file. package.json and install again:

> npm i --save @open-wa/wa-automate@latest

Full API documentation here

Functionality

Sticker Gerator Functionality
Send Photo with Caption
Send video/gif with Caption
Reply A Photo
Reply A video/gif
Group Functionality
Mention all member
Welcome to new members
Welcome kick
Send flood
Generate invite link
Revoke link group
Send Link Group
Owner bot
Swearing - Delete message
Add Member Group
Kick Member Group
Send Audio With Google Voice
Send Code Language
Download Video YouTube
Promote Participant
Demote Participant
Set Description Group
Get Description Group
Get Admins
Set Photo Group
Get Host Settings
Debug Mode Functionality
The bot saves events to a log file
Send log file

About

This WhatsApp bot, written in Javascript, with several useful features for groups.


Languages

Language:JavaScript 100.0%