# roxybotlist.jsv11

> Post stats to roxybotlist.ml

Latest version **1.0.5** (published 2021-03-16) · ISC license · 0 weekly downloads

## Install

```sh
npm install roxybotlist.jsv11
pnpm add roxybotlist.jsv11
yarn add roxybotlist.jsv11
bun add roxybotlist.jsv11
```

## 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 | 1.0.5 |
| Published | 2021-03-16 |
| First published | 2021-03-15 |
| Weekly downloads | 0 |
| License | ISC |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 3 |
| Unpacked size | 13.3 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | yasinckm210 |
| Maintainers | yasinckm210 |
| Keywords | bot list, bot list stats, discord bots, rbl |

## Links

- npm: https://www.npmjs.com/package/roxybotlist.jsv11
- npm.io page: https://npm.io/package/roxybotlist.jsv11

## Dependencies (3)

- [discord.js](https://npm.io/package/discord.js.md) ^11.6.4
- [node-fetch](https://npm.io/package/node-fetch.md) ^2.6.1
- [typescript](https://npm.io/package/typescript.md) ^4.1.2

## Recent versions

- 1.0.5 (latest) — 2021-03-16
- 1.0.4 — 2021-03-15
- 1.0.3 — 2021-03-15
- 1.0.2 — 2021-03-15
- 1.0.0 — 2021-03-15

## README

# Roxy Bot List - Stats
Botunun sunucu sayısını [roxybotlist.ml](https://roxybotlist.ml) göndermek için bir modül.

Aşşağıdan botunuzun kodlama dili için olan örneği botunuzun main dosyasını yapıştırın ve düzenleyin.

`npm i -S roxybotlist.js`

## NodeJS
```js
const { PostStats } = require('roxybotlist.js');

const stats = new PostStats({
  apiToken: '<siteden_aldığın_api>',
  botToken: '<bot_tokenin>'
});

stats.on('postStats', (res) => console.log(res.ok ? 'Sunucusu sayısı gönderildi.' : 'Sunucu sayısı gönderilemedi.'));
```

## TypeScript / ES6
```ts
import { PostStats } from 'roxybotlist.js';

const stats = new PostStats({
  apiToken: '<siteden_aldığın_api>',
  botToken: '<bot_tokenin>'
});

stats.on('postStats', (res) => console.log(res.ok ? 'Sunucusu sayısı gönderildi.' : 'Sunucu sayısı gönderilemedi.'));
```

### Options
```ts
export interface PostStatsOptions {
  /** API Token - https://roxybotlist.ml/dashboard/bots/[yourBotId]/api  */
  apiToken: string;
  /** Bot token - https://discord.com/developers. */
  botToken: string;
  /** Interval to to post stats in minutes.
   * @default 5 */
  interval?: number;
}
```

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