ZZZ-Plugin/apps/help.js
2024-07-10 14:47:23 +08:00

33 lines
952 B
JavaScript
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

import { ZZZPlugin } from '../lib/plugin.js';
import _ from 'lodash';
import { rulePrefix } from '../lib/common.js';
export class Help extends ZZZPlugin {
constructor() {
super({
name: '[ZZZ-Plugin]Help',
dsc: 'zzzhelp',
event: 'message',
priority: 100,
rule: [
{
reg: `${rulePrefix}(帮助|help)$`,
fnc: 'help',
},
],
});
}
async help() {
const reply_msg = [
'ZZZ-Plugin 帮助还在制作中',
'目前主要功能如下:',
'1. 体力进度:【#zzznote或者%note】',
'2. 个人信息:【#zzzcard或者%card】',
'3. 抽卡分析:【#zzz抽卡帮助】来查看相应功能',
'4. 角色攻略:【#zzz角色攻略+角色名称/别名】',
'仓库地址https://github.com/ZZZure/ZZZ-Plugin',
'GsCore版https://github.com/ZZZure/ZZZeroUID',
].join('\n');
await this.reply(reply_msg);
}
}