Giter Site home page Giter Site logo

baileys's Introduction

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

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.