BAILEYS
Lightweight · Multi-Device · Extended Featuresnpm install amiudmodz
All Extensions at a Glance
Everything added on top of the official Baileys, ready to use from day one.
AI Icon Messages
Show the Meta AI ✦ badge on any message with ai: true
Code Block Messages
Send syntax-highlighted code blocks in WhatsApp AI style
Table Messages
Render formatted tables with automatic header detection
Album Messages
Group images and videos into native WhatsApp albums
Event Cards
Send native WhatsApp event cards with date and location
Round Video (PTV)
Send circular video notes like Telegram video messages
Mention All
Mention every group participant with a single flag
Kyrexi AI
Integrate full-stack autonomous AI streaming, image drawing, and video generation
Shortcake Passkey
Full implementation of the Shortcake passkey companion protocol
LID Migration
lid-migration.update event with stale LID detection and refresh
Heap Leak Fix
Shared process-wide AsyncLocalStorage prevents memory leaks
Active Login
passive: false prevents WA 428 rejection for existing sessions
Bounds Checking
getBinaryNodeChildUInt now validates buffer length before read
Up & Running in 60 Seconds
npm install amiudmodzCall makeWASocket and provide an auth state
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'
})