forked from Galactic/modmail
12 lines
334 B
JavaScript
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(); |