Miao-Yunzai/lib/events/message.js

15 lines
250 B
JavaScript
Raw Permalink Normal View History

2023-03-04 14:30:13 +08:00
import EventListener from '../listener/listener.js'
/**
* 监听群聊消息
*/
export default class messageEvent extends EventListener {
constructor () {
super({ event: 'message' })
}
async execute (e) {
this.plugins.deal(e)
}
}