probot-tax-npm

1.0.5 • Public • Published

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

Package Sidebar

Install

npm i probot-tax-npm

Weekly Downloads

6

Version

1.0.5

License

MIT

Unpacked Size

1.5 kB

Total Files

5

Last publish

Collaborators

  • badboy671