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);
|
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
|
|
|
}
|