This repository has been archived by the owner on Aug 5, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 2.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
commit ccfab5d Author: Youfou <[email protected]> Date: Mon Mar 20 00:57:03 2017 +0800 add back `except_self` for `Bot.register()` commit 0eb8725 Merge: e1b5735 99e4cc9 Author: Youfou <[email protected]> Date: Sun Mar 19 23:14:42 2017 +0800 Merge branch 'develop' of https://github.com/youfou/wxpy into develop commit e1b5735 Author: Youfou <[email protected]> Date: Sun Mar 19 17:31:18 2017 +0800 solve conflict commit 99e4cc9 Author: Youfou <[email protected]> Date: Sun Mar 19 17:31:18 2017 +0800 solve conflict commit d503e69 Merge: 396c7a8 5e514fb Author: Youfou <[email protected]> Date: Sun Mar 19 17:29:41 2017 +0800 Merge branch 'develop' of https://github.com/youfou/wxpy into develop # Conflicts: # docs/faq.rst commit 396c7a8 Author: Youfou <[email protected]> Date: Sun Mar 19 17:25:52 2017 +0800 + FAQ commit 5e514fb Author: Youfou <[email protected]> Date: Sun Mar 19 17:25:52 2017 +0800 + FAQ commit 261e765 Merge: 2b48811 7ed3c2f Author: Youfou <[email protected]> Date: Sun Mar 19 16:13:53 2017 +0800 Merge branch 'develop' of https://github.com/youfou/wxpy into develop commit 2b48811 Author: Youfou <[email protected]> Date: Sun Mar 19 16:12:03 2017 +0800 update requirements & docs commit 7ed3c2f Author: Youfou <[email protected]> Date: Sun Mar 19 16:12:03 2017 +0800 update requirements & docs commit 431faae Author: Youfou <[email protected]> Date: Sun Mar 19 02:30:19 2017 +0800 + Chat.get_avatar() & Member.remove() commit 5a9a98a Author: Youfou <[email protected]> Date: Sun Mar 19 00:39:53 2017 +0800 no need to `bot.start()` now. Bot will be started automatically once logged in; use embed() instead to block the main thread. commit 1440f50 Author: Youfou <[email protected]> Date: Sat Mar 18 16:25:17 2017 +0800 update from master branch, and update __version__ commit 3b7f3d6 Merge: a413e21 6bfdbfd Author: Youfou <[email protected]> Date: Sat Mar 18 16:24:19 2017 +0800 Merge branch 'master' into develop commit a413e21 Author: Youfou <[email protected]> Date: Sat Mar 18 16:23:28 2017 +0800 Bot.register(senders) => Bot.register(chats) 相比注册消息的发送者,注册消息所在的聊天对象,更为直观和方便。
- Loading branch information
Showing
18 changed files
with
335 additions
and
166 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,65 @@ | ||
常见问题解答 (FAQ) | ||
============================== | ||
|
||
.. module:: wxpy | ||
|
||
.. hint:: | ||
|
||
这里罗列了一些常见的问题,在提出新的问题前,请先看完本文。 | ||
|
||
|
||
每次登陆都要扫二维码? | ||
-------------------------------- | ||
|
||
可以启用登陆状态缓存功能,具体请见 :any:`Bot` 中的 `cache_path` 参数说明。 | ||
|
||
|
||
能在纯命令行环境中使用吗? | ||
-------------------------------- | ||
|
||
wxpy 不依赖于图形界面,因此完全兼容各种纯命令行的服务器。 | ||
|
||
只有一点需要注意,在纯命令行环境中,登陆时必须使用"终端二维码"。 | ||
|
||
具体请见 :any:`Bot` 中的 `console_qr` 参数说明。 | ||
|
||
|
||
能不能抢红包,看朋友圈…? | ||
-------------------------------- | ||
|
||
wxpy 使用了 Web 微信的通讯协议,因此仅能覆盖 Web 微信的所具备的功能。 | ||
|
||
所以以下功能 **目前均不在支持范围内** | ||
|
||
* 支付相关 - 红包、转账、收款 等都不行 | ||
* 在群聊中@他人 - 没错,Web 微信中被@后也不会被提醒 | ||
* 发送名片 - 但可以通过 :any:`send_raw_msg()` 转发 | ||
* 发送分享链接 - 并且无法转发 | ||
* 发送语音消息 | ||
* 朋友圈相关 | ||
|
||
|
||
Python 2.x 还是 3.x? | ||
-------------------------------- | ||
|
||
因为投入精力所限,现阶段会聚焦在 Python 3.x 版本的开发上,短期内不考虑兼容 2.x。 | ||
|
||
欢迎其他热心同学参与贡献来支持 2.x。 | ||
|
||
|
||
会不会被封号? | ||
-------------------------------- | ||
|
||
目前来看并不会因为使用 wxpy 等类似的工具/模块导致封号。 | ||
|
||
但是,如果你使用微信来骚扰他人、破坏环境,甚至违法犯法的话,那么不管用什么方式使用微信都会导致封号。 | ||
|
||
wxpy 的初衷是帮助人们利用微信来使生活和工作更轻松。 | ||
|
||
.. note:: | ||
|
||
请每位使用者: | ||
|
||
* 维护良好的交流环境 | ||
* 永远不骚扰他人 | ||
* 绝不触犯法律 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
itchat>=1.2.30 | ||
itchat>=1.2.32 | ||
requests |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.