Skip to content
/ wabotjs Public
forked from RynKings/wabotjs

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

Notifications You must be signed in to change notification settings

mamet8/wabotjs

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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!!!

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 100.0%