提交 234461f1 编写于 作者: Huan (李卓桓)'s avatar Huan (李卓桓) 提交者: GitHub

Update README.md

上级 89d0f807
...@@ -30,9 +30,9 @@ Wechaty is a Bot Framework for Wechat **Personal** Account that helps you easy c ...@@ -30,9 +30,9 @@ Wechaty is a Bot Framework for Wechat **Personal** Account that helps you easy c
# Example # Example
Your first Wechaty Bot with only 6 lines javascript: Your first Wechaty Bot with only 6 lines JavaScript:
```typescript ```javascript
const Wechaty = require('wechaty') const Wechaty = require('wechaty')
Wechaty.instance() // Singleton Wechaty.instance() // Singleton
...@@ -42,7 +42,7 @@ Wechaty.instance() // Singleton ...@@ -42,7 +42,7 @@ Wechaty.instance() // Singleton
.init() .init()
``` ```
This bot just log all the message to the console. Source code(TypeScript version) at [here](https://github.com/wechaty/wechaty/blob/master/example/roger-bot.ts). This bot can log all message to console. Source code(TypeScript version) at [here](https://github.com/wechaty/wechaty/blob/master/example/roger-bot.ts).
You can find more example from [Wiki](https://github.com/wechaty/wechaty/wiki/Example) and [Example Directory](https://github.com/wechaty/wechaty/blob/master/example/). You can find more example from [Wiki](https://github.com/wechaty/wechaty/wiki/Example) and [Example Directory](https://github.com/wechaty/wechaty/blob/master/example/).
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册