UNPKG

@nonebot/koishi-plugin-jrrp

Version:
14 lines (13 loc) 578 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.apply = exports.Config = exports.using = exports.name = void 0; const koishi_1 = require("koishi"); const path_1 = require("path"); exports.name = 'jrrp'; exports.using = ['nonebot']; exports.Config = koishi_1.Schema.object({}); async function apply(ctx, config) { await ctx.nonebot.install((0, path_1.resolve)(__dirname, '../dist')); await ctx.nonebot.import((0, path_1.resolve)(__dirname, '../nonebot_plugin_jrrp/nonebot_plugin_jrrp'), config); } exports.apply = apply;