提交 933b81f0 编写于 作者: Huan (李卓桓)'s avatar Huan (李卓桓)

merge

......@@ -92,6 +92,7 @@
"thumbnailurl",
"wechat",
"weixin",
"wxwork",
"zbeekman",
"zixia"
],
......
# Wechaty [![NPM Version](https://img.shields.io/npm/v/wechaty?color=brightgreen)](https://www.npmjs.com/package/wechaty) [![NPM](https://github.com/wechaty/wechaty/workflows/NPM/badge.svg)](https://github.com/wechaty/wechaty/actions?query=workflow%3ANPM) [![Docker](https://github.com/wechaty/wechaty/workflows/Docker/badge.svg)](https://github.com/wechaty/wechaty/actions?query=workflow%3ADocker)
[![Wechaty](https://wechaty.js.org/img/wechaty-logo.svg)](https://github.com/wechaty/wechaty)
[![Wechaty](https://wechaty.js.org/img/wechaty-logo.svg)](https://wechaty.js.org)
[![Downloads](https://img.shields.io/npm/dm/wechaty.svg?style=flat-square)](https://www.npmjs.com/package/wechaty)
[![GitHub stars](https://img.shields.io/github/stars/wechaty/wechaty.svg?label=github%20stars)](https://github.com/wechaty/wechaty)
......@@ -356,12 +356,12 @@ See:
## :sparkling_heart: POWERED BY WECHATY
[![Powered by Wechaty](https://img.shields.io/badge/Powered%20By-Wechaty-brightgreen.svg)](https://github.com/Wechaty/wechaty)
[![Powered by Wechaty](https://img.shields.io/badge/Powered%20By-Wechaty-brightgreen.svg)](https://wechaty.js.org)
### :sparkles: Wechaty Badge
```markdown
[![Powered by Wechaty](https://img.shields.io/badge/Powered%20By-Wechaty-brightgreen.svg)](https://github.com/Wechaty/wechaty)
[![Powered by Wechaty](https://img.shields.io/badge/Powered%20By-Wechaty-brightgreen.svg)](https://wechaty.js.org)
```
Get more embed html/markdown code from [Wiki:Badge](https://github.com/wechaty/wechaty/wiki/Badge)
......
此差异已折叠。
......@@ -91,11 +91,10 @@ function onScan (qrcode: string, status: ScanStatus) {
function onLogin (user: Contact) {
console.info(`${user.name()} login`)
bot.say('Wechaty login').catch(console.error)
}
function onLogout (user: Contact) {
console.info(`${user.name()} logouted`)
console.info(`${user.name()} logged out`)
}
function onError (e: Error) {
......
{
"name": "wechaty",
"version": "0.47.25",
"version": "0.48.5",
"description": "Wechaty is Conversational SDK Chatbot Makers, Powered by TypeScript, Docker, and 💖",
"main": "dist/src/mod.js",
"typings": "dist/src/mod.d.ts",
......@@ -101,7 +101,7 @@
"state-switch": "^0.9.9",
"typed-emitter": "^1.3.0",
"watchdog": "^0.8.17",
"wechaty-puppet-hostie": "^0.9.13",
"wechaty-puppet-hostie": "^0.10.0",
"wechaty-puppet": "^0.32.3",
"ws": "^7.3.1"
},
......
......@@ -23,9 +23,9 @@ DOCS_INDEX_MD=docs/index.md
cat <<_EOF_ > "$DOCS_INDEX_MD"
# Wechaty v$(jq -r .version package.json) Documentation
- Blog - <https://wechaty.github.io>
- Website - <https://wechaty.js.org>
- Docs Site - <https://wechaty.js.org/docs/>
- API References - <https://wechaty.github.io/wechaty/>
- Docs Site - <https://wechaty.js.org>
_EOF_
......
/* eslint-disable sort-keys */
/**
* Wechaty Chatbot SDK - https://github.com/wechaty/wechaty
*
......@@ -40,10 +41,15 @@ export const PUPPET_DEPENDENCIES = {
/**
* Wechaty External Puppets
*/
'wechaty-puppet-official-account' : '^0.2.2', // https://www.npmjs.com/package/wechaty-puppet-official-account
'wechaty-puppet-padplus' : '^0.7.30', // https://www.npmjs.com/package/wechaty-puppet-padplus
'wechaty-puppet-puppeteer' : '^0.23.1', // https://www.npmjs.com/package/wechaty-puppet-puppeteer
'wechaty-puppet-wechat4u' : '^0.17.4', // https://www.npmjs.com/package/wechaty-puppet-wechat4u
/**
* Other
*/
'wechaty-puppet-gitter' : '^0.3.1', // https://www.npmjs.com/package/wechaty-puppet-gitter
'wechaty-puppet-official-account' : '^0.2.2', // https://www.npmjs.com/package/wechaty-puppet-official-account
}
export type PuppetModuleName = keyof typeof PUPPET_DEPENDENCIES
......
......@@ -596,7 +596,6 @@ class Wechaty extends WechatyEventEmitter implements Sayable {
*/
case PayloadType.Friendship:
// Friendship has no payload
// await this.Friendship.load(payloadId)
break
case PayloadType.Message:
// Message does not need to dirty (?)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册