boatapi
v1.0.2
Published
A api to get informations about the bots!
Downloads
3
Readme
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....]