# @zerotwobot/del.js

> The API Wrapper for Discord's unbiased list, giving bots and servers of all sizes a big chance!

Latest version **1.2.0** (published 2021-09-23) · OSL-3.0 license · 0 weekly downloads

## Install

```sh
npm install @zerotwobot/del.js
pnpm add @zerotwobot/del.js
yarn add @zerotwobot/del.js
bun add @zerotwobot/del.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 | 1.2.0 |
| Published | 2021-09-23 |
| First published | 2021-05-21 |
| Weekly downloads | 0 |
| License | OSL-3.0 |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 1 |
| Unpacked size | 2.8 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 1 |
| Author | Connor!#0800 |
| Maintainers | zerotwobot |
| Keywords | api, discord, discordbotlist, botlist, discordapi, botlistapi, discordextremelist, discordextremelistapi, delapi, deljs, delapijs, poststats, delapipoststats, botapi, delbotapi |

## Links

- npm: https://www.npmjs.com/package/@zerotwobot/del.js
- Repository: https://github.com/discordextremelist/del.js
- Homepage: https://github.com/discordextremelist/del.js#readme
- Issues: https://github.com/discordextremelist/del.js/issues
- npm.io page: https://npm.io/package/@zerotwobot/del.js

## Dependencies (1)

- [node-fetch](https://npm.io/package/node-fetch.md) ^2.6.1

## Recent versions

- 1.2.0 (latest) — 2021-09-23
- 1.0.1 — 2021-05-21
- 1.0.0 — 2021-05-21

## README

# DiscordExtremeList's API Wrapper

## Getting Started

#### Importing and "initializing" the package
```js
const DEL = require('@zerotwobot/del.js') // importing del
const del = new DEL("auth token", "client id") // initializing it
```

###### Arguments
Parameter | Type | Optional | Description
|--------------|----------|--------------|--------------|
key | String | false | The API Token found on your bot's page.
id | Snowflake | false | Your bot's client ID.

--- 

### example

```js
const Discord = require("discord.js")
const client = new Discord.Client()
const prefix = "del.";
const DEL = require("@zerotwobot/del.js")
const del = new DEL("auth token", client.user.id,)

client.on("ready", () => {
console.log(`Logged in as ${client.user.tag}.`)
setInterval(() => {
   del.post(client.guilds.cache.size, 0) // You will probably need to change this.
  }, 600000) // 10 minutes in Milliseconds
});

client.login("token")
```

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