cerberusdev-api
v1.0.2-fetchreturn
Published
Official JS CerberusDevelopment API Module
Downloads
6
Readme
Cerberus Development API Module Package
Example Usage (Javascript)
const CerberusAPI = require('cdapi');
const api = new CerberusAPI();
module.exports.run = (client, message, args) => {
api.getGeo(client.user.id,client.cdapi.token,args[0]).then(r => {
if (status === "success") {
console.log(`${r.body.message}`);
} else {
console.log(`${r.body.message}`);
}
}).catch((err) => {
console.log(err);
});
};