UNPKG

koishi-plugin-yunzai

Version:
22 lines (21 loc) 662 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.YunzaiPluginAdpt = void 0; require("koishi-plugin-adapter-oicq"); class YunzaiPluginAdpt { constructor(ctx, options) { this.priority = 5000; for (const key in options) { if (Object.prototype.hasOwnProperty.call(this, key)) this[key] = options[key]; } this.e.self_id = ctx.bots['']; ctx.platform('oicq'); } reply(message, quote = false, opt) { if (!this.e.reply) return false; const { recallMsg = 0, at = '' } = opt; } } exports.YunzaiPluginAdpt = YunzaiPluginAdpt;