fix: note

This commit is contained in:
bietiaop 2024-07-08 17:01:24 +08:00
parent 8f5e986038
commit f0ef2bd624
4 changed files with 68 additions and 12 deletions

View file

@ -1,11 +1,10 @@
import { ZZZPlugin } from '../lib/plugin.js';
import MysZZZApi from '../lib/mysapi.js';
import { getCk } from '../lib/common.js';
import _ from 'lodash';
import render from '../lib/render.js';
import { ZZZNoteResp } from '../model/note.js';
import { rulePrefix } from '../lib/common.js';
export class test extends ZZZPlugin {
export class Note extends ZZZPlugin {
constructor() {
super({
name: '[ZZZ-Plugin]Note',
@ -14,7 +13,7 @@ export class test extends ZZZPlugin {
priority: 100,
rule: [
{
reg: `^#zzznote$`,
reg: `${rulePrefix}note$`,
fnc: 'note',
},
],