mrmBot-Matrix/utils/dbl.js
2019-09-13 15:02:41 -05:00

10 lines
286 B
JavaScript

// dbl api client
const DBL = require("dblapi.js");
const logger = require("./logger.js");
const config = require("../config.json");
const client = require("./client.js");
const dbl = new DBL(config.dblToken, client);
dbl.on("error", e => {
logger.error(e);
});
module.exports = dbl;