Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

botsbase.js

Package Overview
Dependencies
Maintainers
2
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

botsbase.js - npm Package Compare versions

Comparing version 0.0.2 to 0.0.3

x.js

8

package.json
{
"name": "botsbase.js",
"version": "0.0.2",
"version": "0.0.3",
"description": "BotsBase.net API",
"main": "roxza.js",
"main": "x.js",
"scripts": {
"test": "node roxza"
"test": "node x"
},

@@ -20,4 +20,4 @@ "keywords": [

],
"author": "Roxza#6666",
"author": "Roxza#6666,Aronshire#8111",
"license": "MIT"
}

@@ -13,6 +13,15 @@ # Bots Base API

const BaseAPI = require('botsbase.js')
const BotsBase = new BaseAPI();
const BotsBase = new BaseAPI("TOKEN")
```
// Events
BotsBase.on('error', console.error)
#### Post Guild & User count
```js
const BaseAPI = require('botsbase.js')
const BotsBase = new BaseAPI("TOKEN");
client.on('ready', () => {
BotsBase.postStats(client.guilds.size, client.users.size)
});
```

@@ -24,7 +33,4 @@

const BaseAPI = require('botsbase.js')
const BotsBase = new BaseAPI();
const BotsBase = new BaseAPI("TOKEN");
// Events
BotsBase.on('error', console.error)
client.on('ready', async() => {

@@ -44,7 +50,4 @@ const check = await BotsBase.voted("USER_ID", "BOT_ID")

const BaseAPI = require('botsbase.js')
const BotsBase = new BaseAPI();
const BotsBase = new BaseAPI("TOKEN");
// Events
BotsBase.on('error', console.error)
const data = await BotsBase.fetchBot("BOT_ID")

@@ -61,7 +64,4 @@ console.log(data) // { isim: "...", prefix: "..." }

const BaseAPI = require('botsbase.js')
const BotsBase = new BaseAPI();
const BotsBase = new BaseAPI("TOKEN");
// Events
BotsBase.on('error', console.error)
const lastvote = await BotsBase.lastVote("BOT_ID")

@@ -73,2 +73,2 @@ console.log(lastvote)

#### Roxza <3
#### Roxza & Aronshire <3
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc