Skip to content

Commit e8edb1e

Browse files
authored
Merge pull request #25 from atorber/hi
Hi
2 parents 0220f73 + 1fe8159 commit e8edb1e

3 files changed

Lines changed: 3 additions & 13 deletions

File tree

examples/ripe-wechaty-hi.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,11 +32,11 @@ async function onLogin (user: Contact) {
3232
const contact = await bot.Contact.find({ id: 'luyuchao' })
3333
log.info('contact:', contact)
3434
const name = await bot.currentUser.name()
35-
await contact?.say(`Hi,我是数字员工${name},很高兴认识你`)
35+
await contact?.say(`Hi,我是${name},很高兴认识你`)
3636

3737
const room = await bot.Room.find({ id: '11837093' })
3838
log.info('room:', room)
39-
await room?.say(`Hi,我是数字员工${name},很高兴认识你`)
39+
await room?.say(`Hi,我是${name},很高兴认识你`)
4040
}
4141

4242
async function onMessage (msg: Message) {

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "wechaty-puppet-bridge",
3-
"version": "0.17.2",
3+
"version": "0.17.4",
44
"description": "Puppet Bridge for Wechaty",
55
"type": "module",
66
"exports": {

wxbot.json

Lines changed: 0 additions & 10 deletions
This file was deleted.

0 commit comments

Comments
 (0)