UNPKG

@oebot/core

Version:

能跑就行的 QQ 机器人框架,基于 oicq v2,改自KiviBot(R.I.P.)

11 lines (10 loc) 341 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.exitWithError = void 0; const notice_1 = require("./notice"); /** 停止 OEBot 框架进程并输出规范化 OEBot 错误信息 */ function exitWithError(msg) { notice_1.notice.error(msg); process.exit(1); } exports.exitWithError = exitWithError;