@kotori-bot/core
Version:
Kotori Core
46 lines (45 loc) • 1.49 kB
JavaScript
/**
* @Package @kotori-bot/core
* @Version 1.7.2
* @Author Arimura Sena <me@hotaru.icu>
* @Copyright 2024-2025 Hotaru. All rights reserved.
* @License GPL-3.0
* @Link https://github.com/kotorijs/kotori
* @Date 2026/2/14 15:50:13
*/
;
var __defProp = Object.defineProperty;
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
var __getOwnPropNames = Object.getOwnPropertyNames;
var __hasOwnProp = Object.prototype.hasOwnProperty;
var __export = (target, all) => {
for (var name in all)
__defProp(target, name, { get: all[name], enumerable: true });
};
var __copyProps = (to, from, except, desc) => {
if (from && typeof from === "object" || typeof from === "function") {
for (let key of __getOwnPropNames(from))
if (!__hasOwnProp.call(to, key) && key !== except)
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
}
return to;
};
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
var constants_exports = {};
__export(constants_exports, {
DEFAULT_CORE_CONFIG: () => DEFAULT_CORE_CONFIG
});
module.exports = __toCommonJS(constants_exports);
var import_i18n = require("@kotori-bot/i18n");
const DEFAULT_CORE_CONFIG = {
global: {
lang: import_i18n.DEFAULT_LANG,
commandPrefix: "/"
},
adapter: {},
plugin: {}
};
// Annotate the CommonJS export names for ESM import in node:
0 && (module.exports = {
DEFAULT_CORE_CONFIG
});