mirror of
https://github.com/Jerryplusy/crystelf-plugin.git
synced 2025-07-04 14:19:19 +00:00
13 lines
318 B
JavaScript
13 lines
318 B
JavaScript
import configControl from '../config/configControl.js';
|
|
import wsClient from '../../models/ws/wsClient.js';
|
|
|
|
export const crystelfInit = {
|
|
async CSH() {
|
|
await configControl.init();
|
|
if (configControl.get('core')) {
|
|
await wsClient.initialize();
|
|
}
|
|
logger.mark('crystelf 完成初始化');
|
|
},
|
|
};
|