Skip to content

Commit

Permalink
Change init to start in demo (#1017)
Browse files Browse the repository at this point in the history
`init` is deprecated
  • Loading branch information
xinbenlv authored and huan committed Dec 18, 2017
1 parent 96567da commit a7df2b2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Expand Up @@ -44,7 +44,7 @@ Wechaty.instance() // Singleton
.on('scan', (url, code) => console.log(`Scan QR Code to login: ${code}\n${url}`))
.on('login', user => console.log(`User ${user} logined`))
.on('message', message => console.log(`Message: ${message}`))
.init()
.start()
```
> **Notice: Wechaty requires Node.js version >= 6.9.0**
Expand Down

0 comments on commit a7df2b2

Please sign in to comment.