safesupport-bot/dist/index.js

15 lines
351 B
JavaScript
Raw Normal View History

2020-03-16 18:41:56 +00:00
"use strict";
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
2020-03-16 18:41:56 +00:00
2020-12-01 03:47:32 +00:00
var _config = _interopRequireDefault(require("../config.json"));
2020-03-16 18:41:56 +00:00
2020-12-01 03:47:32 +00:00
var _bot = _interopRequireDefault(require("./bot"));
2020-03-16 18:41:56 +00:00
2020-12-01 03:47:32 +00:00
const bot = new _bot.default(_config.default);
try {
bot.start();
} catch (err) {
2020-12-01 03:47:32 +00:00
console.log("Unable to start bot", err);
}