1.0.2-beta.0 โ€ข Published 6 months ago

@seaavey/bot v1.0.2-beta.0

Weekly downloads
-
License
MIT
Repository
-
Last release
6 months ago

โœจ 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.