中间件(use)
字数
36 字
阅读时间
1 分钟
介绍:
js
import karin from 'node-karin'
export const middleware = karin.use('forwardMsg', async (bot, contact, element, next, exit) => {
console.log(contact.scene)
console.log(element)
return exit()
}, { adapter: ['ICQQ'] })