asikn-baileys
v1.0.1
Published
Enhanced Baileys fork with full button support (quick reply, list, copy/call/link buttons), media overlay features, and suppressed verbose libsignal logs
Maintainers
Readme
AsikN Baileys (English)
Enhanced Baileys fork with full button support for WhatsApp Web and suppressed verbose logs.
Based on Asikleys/Baileys - All the power of the original Baileys library, plus enhanced button functionality and cleaner console output.
🎯 Features
✨ Full Button Support
- Quick Reply Buttons - Standard interactive buttons that work on both Web and Mobile
- List Messages - Dropdown selection menus
- Interactive Buttons - Copy, Call, and Link buttons (hydrated buttons)
- Native Flow Buttons - Advanced dropdown menus with custom flows
🔇 Suppressed Verbose Logs
- Automatically patches
libsignalto suppress noisy session management logs - Cleaner console output for better debugging experience
- No more "Closing session: SessionEntry" spam!
🤖 Try it Live!
Want to see Asikleys in action? Try our AsikN WhatsApp bot: https://tiny.cc/asikn
📦 Installation
npm install asikn-baileysThe package will automatically patch libsignal after installation to suppress verbose logs.
🚀 Quick Start
const { default: makeWASocket } = require('asikn-baileys');
// Use exactly like Baileys
const sock = makeWASocket({
// your config
});
// Send quick reply buttons
await sock.sendMessage(jid, {
text: 'Choose an option:',
footer: 'Footer text',
buttons: [
{ buttonId: 'id1', buttonText: { displayText: 'Button 1' }, type: 1 },
{ buttonId: 'id2', buttonText: { displayText: 'Button 2' }, type: 1 }
],
headerType: 1,
viewOnce: true
});
// Send list message
await sock.sendMessage(jid, {
text: 'Select from list:',
buttonText: 'Click Here',
sections: [
{
title: 'Section 1',
rows: [
{ title: 'Option 1', rowId: 'opt1', description: 'Description 1' },
{ title: 'Option 2', rowId: 'opt2', description: 'Description 2' }
]
}
]
});
// Send copy button (hydrated button)
await sock.sendMessage(jid, {
text: 'Here is your code:\n\nABCD-1234',
footer: 'Click to copy',
interactiveButtons: [
{
name: 'cta_copy',
buttonParamsJson: JSON.stringify({
display_text: '📋 Copy Code',
copy_code: 'ABCD-1234'
})
}
]
});📝 Button Types
Quick Reply Buttons
Standard buttons that send a message when clicked.
List Messages
Dropdown menus with multiple sections and options.
Interactive Buttons (Hydrated)
- Copy Button (
cta_copy) - Copies text to clipboard - Call Button (
cta_call) - Initiates a phone call - Link Button (
cta_url) - Opens a URL
Native Flow Buttons
Advanced interactive dropdowns with custom flows.
🔄 Migration from Baileys/Asikleys
AsikN Baileys is a drop-in replacement for Baileys/Asikleys. Simply replace:
// Before
const { default: makeWASocket } = require('baileys');
// or
const { default: makeWASocket } = require('asikleys');
// After
const { default: makeWASocket } = require('asikn-baileys');All existing Baileys code will work without changes!
📜 License
MIT
🙏 Credits
- Based on Asikleys (Baileys fork)
- Original Baileys by WhiskeySockets
- Button implementation inspired by yaoii-bails
💬 Support
For issues and questions, please open an issue on GitHub.
Made with ❤️ for the WhatsApp bot community
Try it live: https://tiny.cc/asikn
AsikN Baileys (Bahasa Indonesia)
Fork Baileys yang ditingkatkan dengan dukungan tombol lengkap untuk WhatsApp Web.
Berbasis Baileys v7.0.0-rc.9 - Semua kekuatan library Baileys asli, ditambah fungsionalitas tombol yang ditingkatkan.
🎯 Fitur
✨ Dukungan Tombol Lengkap
- Tombol Quick Reply - Tombol interaktif standar yang berfungsi di Web dan Mobile
- List Messages - Menu dropdown dengan pilihan
- Tombol Interaktif - Tombol Copy, Call, dan Link (hydrated buttons)
- Tombol Native Flow - Menu dropdown lanjutan dengan flow kustom
🔇 Log Verbose Ditekan
- Secara otomatis mem-patch
libsignaluntuk menekan log manajemen sesi yang berisik - Output console lebih bersih untuk pengalaman debugging yang lebih baik
- Tidak ada lagi spam "Closing session: SessionEntry"!
🤖 Coba Langsung!
Ingin melihat Asikleys beraksi? Coba bot WhatsApp AsikN kami: https://tiny.cc/asikn
📦 Instalasi
npm install asikn-baileysPackage akan secara otomatis mem-patch libsignal setelah instalasi untuk menekan log verbose.
🚀 Mulai Cepat
const { default: makeWASocket } = require('asikn-baileys');
// Gunakan persis seperti Baileys
const sock = makeWASocket({
// konfigurasi kamu
});
// Kirim tombol quick reply
await sock.sendMessage(jid, {
text: 'Pilih opsi:',
footer: 'Teks footer',
buttons: [
{ buttonId: 'id1', buttonText: { displayText: 'Tombol 1' }, type: 1 },
{ buttonId: 'id2', buttonText: { displayText: 'Tombol 2' }, type: 1 }
],
headerType: 1,
viewOnce: true
});
// Kirim list message
await sock.sendMessage(jid, {
text: 'Pilih dari list:',
buttonText: 'Klik Di Sini',
sections: [
{
title: 'Bagian 1',
rows: [
{ title: 'Opsi 1', rowId: 'opt1', description: 'Deskripsi 1' },
{ title: 'Opsi 2', rowId: 'opt2', description: 'Deskripsi 2' }
]
}
]
});
// Kirim tombol copy (hydrated button)
await sock.sendMessage(jid, {
text: 'Ini kode kamu:\n\nABCD-1234',
footer: 'Klik untuk copy',
interactiveButtons: [
{
name: 'cta_copy',
buttonParamsJson: JSON.stringify({
display_text: '📋 Copy Kode',
copy_code: 'ABCD-1234'
})
}
]
});📝 Jenis Tombol
Tombol Quick Reply
Tombol standar yang mengirim pesan saat diklik.
List Messages
Menu dropdown dengan beberapa bagian dan opsi.
Tombol Interaktif (Hydrated)
- Tombol Copy (
cta_copy) - Menyalin teks ke clipboard - Tombol Call (
cta_call) - Memulai panggilan telepon - Tombol Link (
cta_url) - Membuka URL
Tombol Native Flow
Dropdown interaktif lanjutan dengan flow kustom.
🔄 Migrasi dari Baileys
Asikleys adalah pengganti langsung untuk Baileys. Cukup ganti:
// Sebelum
const { default: makeWASocket } = require('baileys');
// Sesudah
const { default: makeWASocket } = require('asikn-baileys');Semua kode Baileys yang ada akan berfungsi tanpa perubahan!
📜 Lisensi
MIT
🙏 Kredit
- Berbasis Baileys oleh WhiskeySockets
- Implementasi tombol terinspirasi dari yaoii-bails
💬 Dukungan
Untuk masalah dan pertanyaan, silakan buka issue di GitHub.
Dibuat dengan ❤️ untuk komunitas bot WhatsApp
Coba langsung: https://tiny.cc/asikn
