UNPKG

koishi-plugin-beatsaber-bot

Version:

一个 用于 BeatSaber 的 koishi Bot 插件

20 lines (19 loc) 487 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.CmpCmd = void 0; function CmpCmd(ctx, cfg, render, api, logger) { const cmpcmd = ctx .command('bsbot.cmp') .alias('bbcmp') .action(async ({ session, options }, input) => { // 1. @someone // 2. mapId/Hash // 3. me session.send("still working on"); }); return { key: 'cmp', cmd: cmpcmd }; } exports.CmpCmd = CmpCmd;