15 lines
351 B
JavaScript
15 lines
351 B
JavaScript
"use strict";
|
|
|
|
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
|
|
|
|
var _config = _interopRequireDefault(require("../config.json"));
|
|
|
|
var _bot = _interopRequireDefault(require("./bot"));
|
|
|
|
const bot = new _bot.default(_config.default);
|
|
|
|
try {
|
|
bot.start();
|
|
} catch (err) {
|
|
console.log("Unable to start bot", err);
|
|
} |