galactic-bot/index.js
2021-08-16 14:01:08 -07:00

12 lines
381 B
JavaScript

require('dotenv').config();
const BaseClient = require('./src/middleware/BaseClient.js');
const options = require('./options.json');
const { version } = require('./package.json');
new BaseClient(options, version)
.build();
process.on("unhandledRejection", (error) => {
console.error("[index.js] Unhandled promise rejection:", error); //eslint-disable-line no-console
});