mrmBot-Matrix/utils/dbl.js

10 lines
244 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 client = require("./client.js");
const dbl = new DBL(process.env.DBL, client);
2019-09-13 20:02:41 +00:00
dbl.on("error", e => {
logger.error(e);
});
module.exports = dbl;