Skip to content

Zwhitecoding/Toshibot

 
 

Repository files navigation

ABOUT ME

Name: Ryuko Developer
Age: 18
Contact: Facebook


GETTING STARTED

To set up the project, follow these steps:

  1. Install Dependencies:

    npm install
  2. Run the Application:

    node index.js

SOURCES

  • Original File: BotPack by Yan Maglinte
  • Modified Version: Ryuko by Ryuko Developer
  • FCA Library: ws3-fca by Kenneth Aceberos
  • Latest Version: Ryuko V5

UPDATES

  • Configuration: You can now edit the prefix, bot name, and admins for each bot in the bots.json file.
  • Admin Access Panel: Configure your admin password in config.json.
  • App State Creation: Create your app state files in the states folder, with filenames ending in .json. You can create multiple app states.
  • Email Functionality: Added email notifications for approval requests. Enter your email address in config.json.
  • Spam Fix: Resolved issues with spam in the ban system.
  • Premium Command Feature: Enable premium features by adding a premium variable with a boolean value.

Premium Usage Example

module.exports.config = {
  name: "example",
  version: "1.0.0",
  credits: "Ryuko Developer",
  permission: 0,
  description: "An example command",
  category: "Example",
  usages: "example",
  prefix: true,
  premium: true, // Enable premium feature
  cooldown: 0
}

Upcoming Update

  • Command Aliases: Adding aliases for each command.

BOX APPROVAL

The box approval feature is enabled by default. To disable it, set the approval value to false in config.json.

Approving Boxes

You can approve boxes using the approve command without a prefix. The syntax is:

approve (box/remove) (uid/tid)

Examples:

  • View Approved List:

    approve list
  • Add Box from Approved List:

    approve box 4834812366643016
  • Remove Box from Approved List:

    approve remove 4834812366643016

HOW TO ADD COMMANDS

To add a new command, use the following structure:

module.exports.config = {
  name: "example", // Command name
  version: "1.0.0", // Command version
  permission: 0, // Permission level (0: all, 1: group admins, 2: bot admins, 3: bot operators)
  credits: "Ryuko Developer", // Creator of the code
  description: "An example command", // Command description
  prefix: false, // Use prefix (true/false)
  premium: false, // Enable premium feature (true/false)
  category: "Example", // Command category
  usages: "example", // Command usage
  cooldowns: 5 // Cooldown in seconds
};

module.exports.run = async ({ api, event, args, Threads, Users, getText }) => {
  // Send a simple message when the command is executed
  api.sendMessage('Hello, world!', event.threadID, event.messageID);
}

CONCLUSION

This documentation provides a comprehensive overview of the Ryuko Developer project, including setup instructions, updates, and command usage. If you have any questions or need further assistance, feel free to reach out!


About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 91.3%
  • HTML 8.7%