fix: 扩展Messages
This commit is contained in:
parent
f2eb038f8b
commit
08c4ce093c
|
@ -5,9 +5,9 @@
|
|||
```ts
|
||||
import { Messages } from './src/core/index.js'
|
||||
const message = new Messages({
|
||||
priority: 9000,
|
||||
});
|
||||
message.response(/^你好/,async e=>{
|
||||
priority: 9000
|
||||
})
|
||||
message.response(/^你好/, async e => {
|
||||
e.reply('你好')
|
||||
})
|
||||
```
|
||||
|
|
|
@ -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',
|
||||
|
|
Loading…
Reference in New Issue