exabot
v0.0.4
Published
ExaBot is a powerful package that simplifies managing Exas in your application, including features such as:
Downloads
10
Readme
ExaBot Package
ExaBot is a powerful package that simplifies managing Exas in your application, including features such as:
- Buying with full moderation support.
- Tax Calculation based on the given price.
Future versions will introduce additional exciting features to further enhance your experience.
Installation
To get started with ExaBot, first, install the package in your project:
npm install exabotUsage
For ES Modules
import ExaBot from 'exabot';For CommonJS
const ExaBot = require('exabot');Tax Calculation Example
const tax = ExaBot.Tax(1000);
console.log(tax);
/* Output:
{
price: 1000,
tax: 50,
originalPrice: 1000,
finalPrice: 1050
}
*/Buying with ExaBot
To make a purchase using ExaBot, you can use the following syntax:
//should be used in an interaction.
ExaBot.buy({
price: 1000,
bank: 'BankName',
buyer: 'BuyerName',
interaction: interaction
},
// Function to execute when payment is successful
function() {
console.log("Payment was successful!");
},
// Function to execute when payment exceeds supported timeout
function() {
console.log("Payment timed out!");
}
);Features
- Tax Calculation: Easily calculate the tax based on a price.
- Buying Process: A streamlined process for handling transactions with moderation support.
- ExaBot ID: Access ExaBot’s unique ID with
ExaBot.ExaBotId.
Contributing
If you have any suggestions or would like to contribute to this project, please feel free to open an issue or submit a pull request.
Support
For any inquiries or support, feel free to reach out to us on our Discord Server.
Credits
This project was developed by:
- aliso_ar
- _wqb
Thank you for using ExaBot! We appreciate your support and look forward to bringing you new features soon.
