2020-03-16 18:41:56 +00:00
|
|
|
"use strict";
|
|
|
|
|
2020-04-22 22:04:48 +00:00
|
|
|
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);
|
2020-09-07 15:54:05 +00:00
|
|
|
|
|
|
|
try {
|
|
|
|
bot.start();
|
|
|
|
} catch (err) {
|
2020-12-01 03:47:32 +00:00
|
|
|
console.log("Unable to start bot", err);
|
2020-09-07 15:54:05 +00:00
|
|
|
}
|