mirror of
https://github.com/ZZZure/ZZZ-Plugin.git
synced 2025-12-16 13:17:32 +00:00
fix: note
This commit is contained in:
parent
8f5e986038
commit
f0ef2bd624
4 changed files with 68 additions and 12 deletions
|
|
@ -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',
|
||||
},
|
||||
],
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue