@zaadevofc/baileys
TypeScript icon, indicating that this package has built-in type declarations

1.127.9-dev • Public • Published

Zaieys - Typescript/Javascript WhatsApp Node API

Zaieys - Typescript/Javascript WhatsApp Node API

Warning!!! This library is not fully finished, and it is still really raw, I suggest you patiently wait until the version of this library is no longer -dev (development)


zaieys zaieys version download License: MIT

Zaieys is a WhatsApp API library that focuses on user convenience and efficiency. This library is only a modification of the baileys library.

Where is the Zaieys library to make it easier to create WhatsApp bots. I really look forward to suggestions and input from all of you, thank you for using✨

If you have any complaints or questions, please submit them on the github issue here or discussion here, that will also help everyone.

🚀 Lets do it

Installation

Install with your fav installer

  npm add @zaadevofc/baileys

  yarn add @zaadevofc/baileys

  pnpm add @zaadevofc/baileys

call your project using module or commonjs

import { WA } from "@zaadevofc/baileys";
// or
const { WA } = require("@zaadevofc/baileys");

Make connection

By default, this library supports multiple device, so you don't need a lot of configuration.

configuration by default

const wa = new WA({
  authDir: 'session',
  authors: [],
  browser: ['Zaieys', 'Safari', '1.0'],
  showLog: true
});

Simple connection

const start = async () => {
  await wa.init(start);

  wa.on("connection", ({ status }) => {
    if (status == 'ready') {
      // hello momm
    }
  });

  wa.on("message", (msg) => {
    if (msg.text == 'hai') {
      wa.sendReply('keliatan bgt nyenggol zharif')
    } 
    
    if (msg.text == 'test') {
      wa.sendText('hi! i am a HTML developer..')
    }
  });
};

// running in main file
start();

📃 Documentation

If you want more details, you can visit the documentation for this library here :

📃 Docs 📃 Docs 📃 Docs 📃 Docs 📃 Docs

🥇 Author

This library was designed by zaadevofc

I am an Indonesian who likes to be confused about the world~

🍴 Feedback

Kalau punya Feedback jangan cerita ke nadia omara tapi diskusi disini :

https://github.com/zaadevofc/Baileys/discussions

If you have feedback, you can discuss it above ☝️

License

License: MIT

Package Sidebar

Install

npm i @zaadevofc/baileys

Weekly Downloads

6

Version

1.127.9-dev

License

MIT

Unpacked Size

66.2 kB

Total Files

33

Last publish

Collaborators

  • zaadevofc