Skip to content

indra87g/sakurabot

Repository files navigation

Sakurabot

JavaScript Node.js Baileys License

Stars Forks Issues

DeepSource

Caution

This project is a fork of @itsliaaa/starseed.

📄 System Requirements

🔹 Minimum ✨ Recommended
1 vCPU 1 vCPU
512 MB RAM 1 GB RAM
1 GB Free Space 2 GB Free Space
FFmpeg v6.x.x FFmpeg v6.x.x
Node.js v20.18.1 LTS Node.js v24.x.x LTS
Yarn v1.x.x Yarn v1.22.22

🗄️ Server

To run the bot, I highly recommend the following services. They are not only affordable, but also ensure that user data stored in the database remains secure:

⬇️ How to Download

DownloadStep

  1. Click the Code button.
  2. Select Download ZIP.
  3. Extract the downloaded file.

🔧 Configuration

Edit config.js to customize the bot:

const wabot = {
   ownerName: 'OWNER_NAME',
   ownerNumber: 'OWNER_NUMBER',
   botName: 'BOT_NAME',
   footer: '✦ Sakurabot',
   botNumber: 'BOT_NUMBER',
   pairingCode: true,
   defaultLimit: 15,
   stickerPackName: '📦 Sakurabot Sticker',
   stickerPackPublisher: 'GitHub: indra87g',
   // ...
};

const tgbot = {
    ownerId: "OWNER_ID",
    newsletterId: "NEWSLETTER_ID",
    botname: "BOT_NAME",
    botfatherToken: "BOTFATHER_TOKEN"
};

const misc = {
    temporaryFolder: 'temp',
    pluginsFolder: 'plugins',
    storeFilename: 'store.json',
    databaseFilename: 'database.json',
    geminiApiKey: 'GEMINI_APIKEY'
};

📁 Plugins

You can follow this format to add your own plugins:

export default {
   command: 'your_command',
   hidden: 'your_hidden_command',
   category: 'your_category_name',
   async run(m, {
      sock,
      // ...other values from handler.js
   }) {
      /* YOUR LOGIC HERE */
   },
   group: false, // is this command only for group chats?
   private: false, // is this command only for private chats?
   owner: false, // is this command only for the owner?
   partner: false, // is this command only for partners?
   admin: false, // is this command only for group admins?
   botAdmin: false, // does this command require the bot to be a group admin?
   limit: 1 // command usage cost
}

See the documentation in @itsliaaa/baileys for details about sending interactive messages.

👤 Credits

🌐 Third-Party Services

Starseed utilizes the following external APIs:

These services are used as external integrations and are not directly affiliated with the development of Starseed.

About

MOVED TO @blackberryhazard-org/blackberry-bot

Resources

License

Stars

Watchers

Forks

Contributors

Generated from itsreimau/gaxtawu