1.0.2-beta.0 โข Published 6 months ago
@seaavey/bot v1.0.2-beta.0
โจ 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
- ๐ง seaavey@gmail.com
โ๏ธ License
This project is closed-source with author protection. Respect the creator. No unauthorized redistribution allowed.
๐ Don't steal. Build your own. Respect others.