@seaavey/bot
v1.0.3
Published
The Library for Seaavey Bot
Readme
✨ About
This is not a feature-rich bot out of the box — it's a library layer for building your own bot. It wraps around Baileys and adds:
- 🔌 Custom event system (
on("message"),on("group:action"), etc.) - 🔄 Auto reconnection
- 💾 Session storage via multi-file auth
- 🧱 Clean code structure (modular, scalable)
- 🔐 Basic access protection & author verification
🧪 Example Usage
import { Bot } from "./lib/Bot";
const bot = new Bot({
AuthDir: "./session",
online: true,
pairing: true,
});
bot.on("Authenticated", () => {
console.log("✅ Bot authenticated and connected");
});
bot.on("message", async (m) => {
console.log("📨 New message:", m.text);
});
bot.init();👑 Author
- 🧠 Developed by Muhammad Adriansyah
- 📧 [email protected]
⚖️ License
This project is closed-source with author protection. Respect the creator. No unauthorized redistribution allowed.
💀 Don't steal. Build your own. Respect others.