# botsbase.js

> `npm i botsbase.js`

Latest version **0.0.4-beta** (published 2020-11-23) · MIT license · 0 weekly downloads

## Install

```sh
npm install botsbase.js
pnpm add botsbase.js
yarn add botsbase.js
bun add botsbase.js
```

## 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.0.4-beta |
| Published | 2020-11-23 |
| First published | 2020-08-08 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 3 |
| Unpacked size | 2.4 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | Roxza |
| Maintainers | xchairs, aronshire |
| Keywords | bots, base, botsbase, api, offical, nodejs, lastvote, botlist, botsfor |

## Links

- npm: https://www.npmjs.com/package/botsbase.js
- npm.io page: https://npm.io/package/botsbase.js

## Dependencies (3)

- [discord.js](https://npm.io/package/discord.js.md) ^12.5.0
- [superagent](https://npm.io/package/superagent.md) ^6.1.0
- [node-superfetch](https://npm.io/package/node-superfetch.md) ^0.1.10

## Alternatives

- [flatbuffers](https://npm.io/package/flatbuffers.md) — 6.0M weekly downloads
- [jwt-simple](https://npm.io/package/jwt-simple.md) — 259.5K weekly downloads
- [@exodus/patch-broken-hermes-typed-arrays](https://npm.io/package/@exodus/patch-broken-hermes-typed-arrays.md) — 28.5K weekly downloads
- [@native-to-anchor/buffer-layout](https://npm.io/package/@native-to-anchor/buffer-layout.md) — 12.2K weekly downloads
- [binary-parser-encoder](https://npm.io/package/binary-parser-encoder.md) — 5.3K weekly downloads

## Recent versions

- 0.0.4-beta (latest) — 2020-11-23
- 0.0.3 — 2020-08-12
- 0.0.2 — 2020-08-08
- 0.0.1 — 2020-08-08

## README

# Bots Base API

# Installation / Kurulum
`npm i botsbase.js`

### Glitch
`pnpm i botsbase.js`

# Examples / Örnek

```js
const BaseAPI = require('botsbase.js')
const BotsBase = new BaseAPI("TOKEN")
```

#### Checking user has voted

```js
const BaseAPI = require('botsbase.js')
const BotsBase = new BaseAPI("TOKEN");

   const check = await BotsBase.voted("USER_ID")
   if(check) {
       console.log("true") // Voted
   } else {
       console.log("false") // No Voted
   }

```

#### Bot Fetch

```js
const BaseAPI = require('botsbase.js')
const BotsBase = new BaseAPI("TOKEN");

 const data = await BotsBase.fetch_bot("BOT_ID")
   console.log(data) // { isim: "...", prefix: "..." }
  // const isim = await BotsBase.fetchBot("BOT_ID").then(x => x.id)

```

#### Roxza

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