boatapi

1.0.2 • Public • Published

Boat Api

A node module to help you to get info about a bot from our databases!

Usage:

var api = require('boatapi')
 
api('bot-id', res => {
     // do something with res
})

An example:

var api = require('boatapi')
 
api('415099419592228864', res => {
    console.log(res)
}) 
// Output:
/*
{ id: '415099419592228864',
  name: 'Eskimo#7262',
  prefix: 'e-',
  hc: 'e-',
  owner: '408953935223717898',
  desc: 'A bot to moderate and to add some fun to your server!' }
*/

You can use info from res, like : res.[id/name/prefix/hc/owner/desc/etc....]

Package Sidebar

Install

npm i boatapi

Weekly Downloads

1

Version

1.0.2

License

ISC

Unpacked Size

1.41 kB

Total Files

3

Last publish

Collaborators

  • andr3w_001
  • andrew221