mrmBot-Matrix/utils/dbl.js

11 lines
286 B
JavaScript
Raw Normal View History

2019-09-13 20:02:41 +00:00
// 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;