amisama / wabotjs

This is unofficial Whatsapp Web API - Use at your own risk!!!

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

TE[A]MAN BOT ???

wabotjs

This is unofficial Whatsapp Web API - Use at your own risk!!!

Install the dependencies and devDependencies and start the server.

#Cloning This Repositories
$ git clone https://github.com/rynkings/wabotjs

# Open Directory
$ cd wabotjs

# Install Module
$ npm i

# Running Program
$ npm start
*/Or
# Autorestart when save file 
$ npm autorestart

Register event like decorators

async function listen(client, message){
    console.log(message);
    console.log(message.pattern[1])
    client.sendMessage(message.to, 'Hi too');
}

textListener(listen, false, true, /^.hi(?: |$)(.*)/, false, false);

To make it easier if there is an Error Change in data/setting.json by using your number or with the ID Groups:

// The setting.json example
{
	"logs": false,
	"logs_id": "Put_YOUR_NUMBER_OR_GROUP_ID",
	"mode": "public",
	"owners": []
}

Author

Special Thank To

About

This is unofficial Whatsapp Web API - Use at your own risk!!!


Languages

Language:JavaScript 100.0%