# @half-elf/ranger

> Discord chatbot for various d20 utility.

Latest version **0.3.0** (published 2020-09-17) · MIT license · 0 weekly downloads

## Install

```sh
npm install @half-elf/ranger
pnpm add @half-elf/ranger
yarn add @half-elf/ranger
bun add @half-elf/ranger
```

## Health

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

Positive: no vulnerabilities.

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

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.3.0 |
| Published | 2020-09-17 |
| First published | 2020-09-13 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 1 |
| Unpacked size | 6.6 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Maintainers | sindrekjr |
| Keywords | d20, rpg, discord, rpg-tool |

## Links

- npm: https://www.npmjs.com/package/@half-elf/ranger
- npm.io page: https://npm.io/package/@half-elf/ranger

## Dependencies (1)

- [@half-elf/rogue](https://npm.io/package/@half-elf/rogue.md) ^1.0.1

## Recent versions

- 0.3.0 (latest) — 2020-09-17
- 0.2.1 — 2020-09-16
- 0.2.0 — 2020-09-16
- 0.1.0 — 2020-09-13

## README

# Ranger
Discord chatbot for d20 utility.

## Commands
### `/roll`
Highly functional roll command that accepts several useful arguments. Use `-v` or `verbose` to cover all at once.

![img](https://user-images.githubusercontent.com/23259585/93389813-022f4f00-f86d-11ea-8ba6-1eac5aff9062.png)

## Usage
```js
const { RangerClient } = require('@half-elf/ranger');

const client = new RangerClient({
  owner: 'your discord id',
  commandPrefix: '/',
  /* other options... */
});
client.registerDefaults({ roll: true, inheritedDefaults: true });
client.login('your discord bot token');
```

## Documentation
This project uses `discord.js` with `discord.js-commando` as a base, and most configurations are inherited.
* [discord.js documentation](https://discord.js.org/#/docs)
* [discord.js-commando](https://discord.js.org/#/docs/commando)

---
_Source: https://npm.io/package/@half-elf/ranger · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
