0.1.7 • Published 5 years ago
dbansjs v0.1.7
DBansJS
A simple library that allowed easy lookup for the now deprecated service, DiscordBans.
Setting up
$ npm install dbansjs
Updating the Cache
var dbans = require('dbansjs')
dbans.update({ 'token': 'api_token' }, function () {
console.log('Ready!')
})
Looking up Users
dbans.lookup(event.d.author.id)
//dbans.lookup("123456789")