probot-tax-npm
v1.0.5
Published
ProBot Tax
Downloads
27
Maintainers
Readme
const probot = require('probot-tax-pkg')
then..
client.on('message', msg => {
if(msg.content.startsWith(prefix + "tax")){
const args = msg.content.split(" ").slice(1).join(" ")
const args2 = args.replace("k","000").replace("m", "000000").replace('M', "000000").replace('K', "000")
if(!args) return
msg.channel.send(probot(args2))
}
})
Example: -tax 10K
Result: 1000
GitHub: https://github.com/BADBOY671/ProBot-Tax-Pkg