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 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.
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");
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
});
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();
If you want more details, you can visit the documentation for this library here :
π Docs π Docs π Docs π Docs π Docs
This library was designed by zaadevofc
I am an Indonesian who likes to be confused about the world~
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 βοΈ