safesupport-bot/src/index.js

10 lines
182 B
JavaScript
Raw Normal View History

2020-12-01 03:47:32 +00:00
import config from '../config.json';
import OcrccBot from './bot';
2020-02-23 18:58:09 +00:00
2020-12-01 03:47:32 +00:00
const bot = new OcrccBot(config);
try {
bot.start();
} catch(err) {
2020-12-01 03:47:32 +00:00
console.log("Unable to start bot", err)
}