GithubHelp home page GithubHelp logo

jarvis_whatsapp_bot_2.0's Introduction

Clone this project

> git clone https://github.com/Rex-Arnab/Jarvis_Whatsapp_Bot_2.0.git

whatsapp-web.js

A WhatsApp API client that connects through the WhatsApp Web browser app

It uses Puppeteer to run a real instance of Whatsapp Web to avoid getting blocked.

NOTE: I can't guarantee you will not be blocked by using this method, although it has worked for me. WhatsApp does not allow bots or unofficial clients on their platform, so this shouldn't be considered totally safe.

Installation

The module is now available on npm! npm i whatsapp-web.js

Please note that Node v10.18.1+ is required due to Puppeteer.

Example usage

const { Client } = require('whatsapp-web.js');
const client = new Client();

client.on('qr', (qr) => {
    // Generate and scan this code with your phone
    console.log('QR RECEIVED', qr);
});

client.on('ready', () => {
    console.log('Client is ready!');
});

client.on('message', msg => {
    if (msg.body == '!ping') {
        msg.reply('pong');
    }
});

client.initialize();

Take a look at example.js for another example with more use cases.

Troubleshooting

Make sure all the necessary dependencies are installed. https://github.com/puppeteer/puppeteer/blob/main/docs/troubleshooting.md

Supported features

Feature Status
Send messages
Receive messages
Send media (images/audio/documents)
Send media (video) (requires google chrome)
Send stickers
Receive media (images/audio/video/documents)
Send contact cards
Send location
Receive location
Message replies
Join groups by invite
Get invite for group
Modify group info (subject, description)
Modify group settings (send messages, edit info)
Add group participants
Kick group participants
Promote/demote group participants
Mention users
Mute/unmute chats
Block/unblock contacts
Get contact info
Get profile pictures
Set user status message

Something missing? Make an issue and let us know!

Comming Soon Features

Sticker Creator Feature
Send Photo with Caption
Reply A Photo
Image Url
Send Video or GIF with Caption
Downloader Feature
YouTube mp3/mp4 Downloader
Doujin Downloader
Instagram Video/Image Downloader
Facebook Video Downloader
Other Feature
Get a random meme
Text to speech
Get a random waifu images
Get a random quotes
Get a random anime quotes
Get info gempa from BMKG
Weather's report's
Wikipedia
Anime searcher
Get a random cat images
Get a random dog images
And Others...
Group Only Feature
Promote User
Demote User
Kick User
Add User
Mention All User
Get link group
Get Admin list
Get owner group
enable or disable nsfw command
enable or disable welcome feature
Owner Group Only Feature
Kick All Member Group
Owner Bot Only Feature
leave all group
clear all message
Broadcast

Links

Special Thanks to

jarvis_whatsapp_bot_2.0's People

Contributors

rex-arnab avatar

Watchers

 avatar

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.