# disco-math.js

> ``` npm install disco-math.js ``` In the console/terminal.

Latest version **3.0.0** (published 2020-12-13) · ISC license · 0 weekly downloads

## Install

```sh
npm install disco-math.js
pnpm add disco-math.js
yarn add disco-math.js
bun add disco-math.js
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 3.0.0 |
| Published | 2020-12-13 |
| First published | 2020-12-12 |
| Weekly downloads | 0 |
| License | ISC |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 1 |
| Unpacked size | 8.4 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Author | קורן#0001 |
| Maintainers | kokoren123 |

## Links

- npm: https://www.npmjs.com/package/disco-math.js
- Repository: https://github.com/kokoren123/disco-math.js
- Homepage: https://github.com/kokoren123/disco-math.js#readme
- Issues: https://github.com/kokoren123/disco-math.js/issues
- npm.io page: https://npm.io/package/disco-math.js

## Dependencies (1)

- [dotenv](https://npm.io/package/dotenv.md) ^8.2.0

## Recent versions

- 3.0.0 (latest) — 2020-12-13
- 2.1.1 — 2020-12-13
- 2.1.0 — 2020-12-13
- 2.0.0 — 2020-12-13
- 1.0.0 — 2020-12-12

## README

# Installation

```
npm install disco-math.js
```
In the console/terminal.

## Add

```js
const discordMath = require("disco-math.js");
const Discord = require('discord.js');
const client = new Discord.Client();

client.on('message', message => {
    const prefix = "!";
    const args = message.content.slice(prefix.length).trim().split(' ');
    if (message.content.startsWith(`${prefix}add`)) {
        discordMath.add(args[1], args[2], message)
    }
})

client.login("SuperSecretToken")
```

## Sub

```js
const discordMath = require("disco-math.js");
const Discord = require('discord.js');
const client = new Discord.Client();


client.on('message', message => {
    const prefix = "!";
    const args = message.content.slice(prefix.length).trim().split(' ');
    if (message.content.startsWith(`${prefix}sub`)) {
        discordMath.sub(args[1], args[2], message)
    }
})

client.login("SuperSecretToken")
```

## Multiply

```js
const discordMath = require("disco-math.js");
const Discord = require('discord.js');
const client = new Discord.Client();


client.on('message', message => {
    const prefix = "!";
    const args = message.content.slice(prefix.length).trim().split(' ');
    if (message.content.startsWith(`${prefix}multiply`)) {
        discordMath.multiply(args[1], args[2], message)
    }
})

client.login("SuperSecretToken")
```

## Divide 

```js
const discordMath = require("disco-math.js");
const Discord = require('discord.js');
const client = new Discord.Client();


client.on('message', message => {
    const prefix = "!";
    const args = message.content.slice(prefix.length).trim().split(' ');
    if (message.content.startsWith(`${prefix}divide`)) {
        discordMath.divide(args[1], args[2], message)
    }
})

client.login("SuperSecretToken")
```

---
_Source: https://npm.io/package/disco-math.js · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
