bandaheali-baileys
v2.0.1
Published
WhatsApp Beta
Downloads
32
Maintainers
Readme
⚡ BANDAHEALI-BAILEYS PRO ⚡
Created with ❤️ by Bandaheali, Shaban, and Rashid The Devil
❓️ | WHY BANDAHEALI-BAILEYS?
📌 | IMPORTANT NOTE
💫 | INSTALLATION
📂 In package.json:
"dependencies": {
"Bandaheali-Baileys": "*"
}or option2
📂 In package.json:
"dependencies": {
"@whiskeysockets/baileys": "github:Bandaheali/Bandaheali-Baileys"
}⚙️ Terminal Installation:
npm install Bandaheali-baileys🔌 Import:
// ESM
import makeWASocket from 'Bandaheali-baileys'// CommonJS
const { default: makeWASocket } = require("Bandaheali-baileys")✨ | FEATURE SHOWCASE
| Feature | Description | Status | |---------|-------------|--------| | 🔊 Channel Messaging | Send & manage WhatsApp channel content | ✅ | | 🎛️ Interactive Messages | Create rich button-based experiences | ✅ | | 🤖 AI Message Icon | Brand your bot messages with AI icon | ✅ | | 🖼️ Enhanced Media | Uncropped profile pictures & optimized media | ✅ | | 🔐 Custom Pairing | Personalized device pairing codes | ✅ | | 🔧 Performance Optimizations | Cleaner logs & improved signal handling | ✅ | | 📱 Cross-Platform | Works on all NodeJS supported platforms | ✅ |
🤖 | AI MESSAGING
// Add "ai: true" to display AI icon with your message
await sock.sendMessage(id, { text: "Hello! I'm your AI assistant.", ai: true })💡 Pro Tip: AI icons make your bot messages stand out and show they’re automated.
🔐 | CUSTOM PAIRING
if(usePairingCode && !sock.authState.creds.registered) {
const phoneNumber = await question('Please enter your mobile phone number:\n')
const custom = "BANDAHEALI" // must be 8 digits, can be letters or numbers
const code = await sock.requestPairingCode(phoneNumber, custom)
console.log(`Pairing code: ${code?.match(/.{1,4}/g)?.join('-') || code}`)
}🔒 Security Note: Custom pairing codes enhance safety & personalization.
🛠️ | QUICK IMPLEMENTATION GUIDE
Install
npm install Bandaheali-baileysImport
import makeWASocket from 'Bandaheali-baileys'Configure
const sock = makeWASocket({...})Send Message
await sock.sendMessage(id, {...})
🐛 | REPORTING ISSUES
If you face any issue, open a GitHub issue.
👾 The Bandaheali-Baileys Team (Bandaheali, Shaban & Rashid The Devil) actively monitors all reports.
📝 | NOTES
Everything except the enhancements remains compatible with the original
WhiskeySockets/Baileys base.
