wechaty微信机器人,当机器人被@时做出响应
https://wechaty.js.org/zh/docs/api/message?_highlight=message
if (await msg.mentionSelf()) {
console.log(
'this message were mentioned me! [You were mentioned] tip ([有人@我]的提示)'
)
await room.say(`不要@微信机器人`)
}
我开发的人工智能学习网站: