galactic-bot/index.js

12 lines
381 B
JavaScript
Raw Normal View History

2021-08-16 23:01:08 +02:00
require('dotenv').config();
const BaseClient = require('./src/middleware/BaseClient.js');
2020-04-08 18:08:46 +02:00
const options = require('./options.json');
2021-08-16 23:01:08 +02:00
const { version } = require('./package.json');
new BaseClient(options, version)
.build();
2020-04-08 18:08:46 +02:00
2021-08-16 23:01:08 +02:00
process.on("unhandledRejection", (error) => {
console.error("[index.js] Unhandled promise rejection:", error); //eslint-disable-line no-console
});