modmail/index.js
2022-01-05 14:22:25 +02:00

12 lines
334 B
JavaScript

if (!require('fs').existsSync('./config')) {
// eslint-disable-next-line no-console
console.error(`Missing config file.`);
// eslint-disable-next-line no-process-exit
process.exit(0);
}
const Options = require('./config');
const { Client } = require('./structure');
const client = new Client(Options);
client.init();