schat2-clive/src/app.js

16 lines
231 B
JavaScript
Raw Normal View History

'use strict';
const config = require('config');
2022-10-18 23:24:13 +00:00
const initSchat = require('./schat');
const initIrc = require('./irc');
2022-10-18 23:24:13 +00:00
if (config.platform === 'irc') {
initIrc();
return;
}
2022-10-18 23:24:13 +00:00
if (config.platform === 'schat') {
initSchat();
2021-11-01 02:45:04 +00:00
}