koishi-plugin-kbot
Version:
A muti-function qq bot for koishi
16 lines (15 loc) • 618 B
JavaScript
;
var __importDefault = (this && this.__importDefault) || function (mod) {
return (mod && mod.__esModule) ? mod : { "default": mod };
};
Object.defineProperty(exports, "__esModule", { value: true });
exports.muteRoutes = void 0;
const utils_1 = __importDefault(require("../utils"));
exports.muteRoutes = {
'/muteGuild': function (context) {
return (0, utils_1.default)(context, 'muteChannel', 'botId', 'guildId', '', 'mute');
},
'/muteMember': function (context) {
return (0, utils_1.default)(context, 'muteGuildMember', 'botId', 'guildId', 'userId', 'duration');
},
};