fix: 扩展Messages

This commit is contained in:
ningmengchongshui 2024-06-09 22:01:54 +08:00
parent f2eb038f8b
commit 08c4ce093c
2 changed files with 7 additions and 7 deletions

View File

@ -5,10 +5,10 @@
```ts
import { Messages } from './src/core/index.js'
const message = new Messages({
priority: 9000,
});
message.response(/^你好/,async e=>{
e.reply('你好')
priority: 9000
})
message.response(/^你好/, async e => {
e.reply('你好')
})
```

View File

@ -5,9 +5,9 @@ import { plugin } from './plugin.js'
* super默认值
*/
export const PluginSuperDefine: {
name?: string,
dsc?: string,
event?: string,
name?: string
dsc?: string
event?: string
priority?: number
} = {
name: 'group-app',