amiudmodz
v5.1.5
Published
WhatsApp Baileys mod Powered by UDMODZ
Maintainers
Readme
██╗░░░██╗██████╗░███╗░░░███╗░█████╗░██████╗░███████╗
██║░░░██║██╔══██╗████╗░████║██╔══██╗██╔══██╗╚════██║
██║░░░██║██║░░██║██╔████╔██║██║░░██║██║░░██║░░███╔═╝
██║░░░██║██║░░██║██║╚██╔╝██║██║░░██║██║░░██║██╔══╝░░
╚██████╔╝██████╔╝██║░╚═╝░██║╚█████╔╝██████╔╝███████╗
░╚═════╝░╚═════╝░╚═╝░░░░░╚═╝░╚════╝░╚═════╝░╚══════╝About
Baileys (UDMODZ Edition) is a lightweight, high-performance WhatsApp Web API library (published as
amiudmodz). It implements the complete WhatsApp Web socket protocol and enables developers to build custom and powerful WhatsApp bots via Node.js limitlessly. Both authentication types (Pairing Code and QR Code) are natively supported.
| 🧩 Feature | 📝 Description | |:---:|:---| | 📡 Socket Protocol | Communicates over fast native WebSockets | | 🛡️ End-to-End Encryption | Fully implements Signal protocol for security | | 📱 Multi-Device Support | Support for WA Web Multi-Device seamlessly | | ⚡ Lightweight | Needs very low resources compared to Puppeteer | | 📂 Media Handling | Download & upload images, videos, audio, documents | | 🔑 Pairing Code | Easy device linking through Pairing Codes |
🚀 Installation & Usage
npm install amiudmodzimport makeWASocket, { useMultiFileAuthState } from 'amiudmodz'
async function connectToWhatsApp () {
const { state, saveCreds } = await useMultiFileAuthState('auth_info_baileys')
// Connect to WA Socket
const sock = makeWASocket({
printQRInTerminal: true,
auth: state
})
// Save creds when updated
sock.ev.on('creds.update', saveCreds)
// Receive messages
sock.ev.on('messages.upsert', async m => {
console.log(JSON.stringify(m, undefined, 2))
console.log('replying to', m.messages[0].key.remoteJid)
await sock.sendMessage(m.messages[0].key.remoteJid!, { text: 'Hello there!' })
})
}
connectToWhatsApp()👨💻 Creator
⭐ Star this repo if you found it useful!
🚫 This package is provided as-is.
Made with 💜 by UDMODZ0
