UNPKG

@nonebot/koishi-plugin-gscode

Version:
14 lines (13 loc) 584 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 = 'gscode'; 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-gscode/nonebot_plugin_gscode'), config); } exports.apply = apply;