Skip to main content
⚡ UDMODZ EDITION

BAILEYS

Lightweight · Multi-Device · Extended Features
npm install amiudmodz

All Extensions at a Glance

Everything added on top of the official Baileys, ready to use from day one.

🤖
NEW

AI Icon Messages

Show the Meta AI ✦ badge on any message with ai: true

💻
NEW

Code Block Messages

Send syntax-highlighted code blocks in WhatsApp AI style

📊
NEW

Table Messages

Render formatted tables with automatic header detection

🎞️
NEW

Album Messages

Group images and videos into native WhatsApp albums

🗓️
NEW

Event Cards

Send native WhatsApp event cards with date and location

📹
NEW

Round Video (PTV)

Send circular video notes like Telegram video messages

📣
NEW

Mention All

Mention every group participant with a single flag

🤖
NEW

Kyrexi AI

Integrate full-stack autonomous AI streaming, image drawing, and video generation

🔑
PR #2689

Shortcake Passkey

Full implementation of the Shortcake passkey companion protocol

🆔
PR #2661

LID Migration

lid-migration.update event with stale LID detection and refresh

PR #2666

Heap Leak Fix

Shared process-wide AsyncLocalStorage prevents memory leaks

🛡️
PR #2682

Active Login

passive: false prevents WA 428 rejection for existing sessions

🔒
PR #2665

Bounds Checking

getBinaryNodeChildUInt now validates buffer length before read

Up & Running in 60 Seconds

01
Install
npm install amiudmodz
02
Connect

Call makeWASocket and provide an auth state

03
Send & Receive

Listen to events and use sock.sendMessage

import makeWASocket, { useMultiFileAuthState } from 'amiudmodz'

const { state, saveCreds } = await useMultiFileAuthState('auth')
const sock = makeWASocket({ auth: state })

sock.ev.on('creds.update', saveCreds)

// Send an AI icon message
await sock.sendMessage(jid, { text: 'Hello!', ai: true })

// Send a code block
await sock.sendMessage(jid, {
  contentText: 'Here is an example:',
  code: 'console.log("amiudmodz")',
  language: 'javascript'
})