modmail/index.js

12 lines
334 B
JavaScript
Raw Normal View History

2022-01-05 13:22:25 +01:00
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);
}
2021-06-18 15:41:57 +02:00
const Options = require('./config');
const { Client } = require('./structure');
const client = new Client(Options);
client.init();