probot-tax-c

1.0.2 • Public • Published

Hello in my first package

this package made for probot tax

How to install?

npm i probot-tax-c

How To Use

Example in discord.js

const tax = require("probot-tax-c");
client.on("message", message => {
    if(message.content.startsWith(prefix + 'tax')) {
        const args = message.content.split(' ').slice(1)
        if(!args) return message.channel.send(`Invaild Args.`)
        if(isNaN(args)) return message.channel.send(`Not A Number.`)
        message.channel.send(tax.calc(args))
    }
})

Readme

Keywords

Package Sidebar

Install

npm i probot-tax-c

Weekly Downloads

2

Version

1.0.2

License

ISC

Unpacked Size

1.55 kB

Total Files

3

Last publish

Collaborators

  • 8a2ed