safesupport-bot/src/index.js

10 lines
182 B
JavaScript

import config from '../config.json';
import OcrccBot from './bot';
const bot = new OcrccBot(config);
try {
bot.start();
} catch(err) {
console.log("Unable to start bot", err)
}