Miao-Yunzai/lib/events/notice.js

15 lines
248 B
JavaScript

import EventListener from '../listener/listener.js'
/**
* 监听群聊消息
*/
export default class noticeEvent extends EventListener {
constructor () {
super({ event: 'notice' })
}
async execute (e) {
this.plugins.deal(e)
}
}