discord-taxs
v0.0.1
Published
A powerful library for discord taxs for (propal-probot)
Downloads
39
Maintainers
Readme
Discord Taxs:
A powerful library for discord taxs for:
1-ProPal
2-ProBot
How to install :
- Installation For CLI:
npm i discord-taxs -g
- Installation:
npm i discord-taxs
How to use:
ProPal Tax:
const { PropalTax } = require('discord-taxs')
const taxCalculator = new PropalTax();
const amount = '1000'; // You can use: 1k/1m/1b
const result = taxCalculator.tax(amount);
console.log(`The Number: ${result.amount}`)
console.log(`The Number With Tax: ${result.tax}`)
console.log(`the difference: ${result.difference}`)
ProBot Tax:
const { ProbotTax } = require('discord-taxs')
const taxCalculator = new ProbotTax();
const amount = '1000'; // You can use: 1k/1m/1b
const result = taxCalculator.tax(amount);
console.log(`The Number: ${result.amount}`)
console.log(`The Number With Tax: ${result.tax}`)
console.log(`the difference: ${result.difference}`)