Skip to content

Commit d17b2fb

Browse files
committed
version v1.2
1 parent d747418 commit d17b2fb

File tree

4 files changed

+25
-49
lines changed

4 files changed

+25
-49
lines changed

Readme.md

+20-29
Original file line numberDiff line numberDiff line change
@@ -8,13 +8,13 @@
88

99
Using ChatGPT-weBot based on ChatGPT(API key call), Stable Diffusion AI drawing and official WeChat hook interface. [中文文档](./Readme_ZH.md) | English
1010

11-
<div align="center"> <img src="assets/DALL·E - A robot is working hard to transform, modify, and revolutionize the WeChat software.png" width="50%"> </div>
11+
<div align="center"> <img src="assets/DALL·E3 - A robot is working hard to transform, modify, and revolutionize the WeChat software.png" width="50%"> </div>
1212

1313
###### Author
1414

1515
[Snapdragon Lee (github.com)](https://github.com/SnapdragonLee)
1616

17-
*cover created from [DALL·E2 (openai.com)](https://labs.openai.com/)*
17+
*cover created from [DALL·E3 (openai.com)](https://labs.openai.com/)*
1818

1919

2020

@@ -29,7 +29,7 @@ Using ChatGPT-weBot based on ChatGPT(API key call), Stable Diffusion AI drawing
2929
- [x] Support bot's character setting
3030
- [x] Set the keywords to wake up the WeChat robot in private
3131
- [x] Set the keywords to wake up the WeChat robot in the group
32-
- [x] Support replying *at-message* when mentioning your bot in the group **(have bugs)**
32+
- [x] Support replying *at-message* when mentioning your bot in the group
3333
- [x] Get help doc inline
3434
- [x] Regenerate conversation
3535
- [x] Rollback conversation
@@ -56,32 +56,29 @@ Using ChatGPT-weBot based on ChatGPT(API key call), Stable Diffusion AI drawing
5656

5757
1. Install all packages listed in `requirements.txt` , use the command like:
5858

59-
```
59+
```bash
6060
pip install -r ./requirements.txt
6161
```
6262

63-
64-
65-
2. Download package from Github Releases.
66-
67-
3. Install `WeChat-3.6.0.18.exe` on your computer, **if your version is higher than 3.6.0.18, you can downgrade instantly.** Then get your account online. You can also download zip version of WeChat. **If you wanna dual-call WeChat, modify `./dual-start.bat` file guiding by annotation.**
63+
***Note that v1.2 requires more packages to be installed and upgraded, so please execute this command once after upgrading.***
6864

6965

7066

71-
4. Monitoring WeChat message by running a server. Here are two methods to achieve this, **please *choose 1 method*** :
67+
2. Download package from Github Releases. (You can download it step by step when they are mentioned)
7268

73-
- Using injector named `DLLinjector_V1.0.3.exe`, then choose file named `3.6.0.18-0.0.0.008.dll` to inject.
69+
3. Install `WeChat-3.9.5.81.exe` on your computer, **if your version is higher than 3.9.5.81, you can downgrade instantly, or install seperately in other directory**. Afterwards, please **start it as an administrator** and log in. **If you want to dual-open WeChat, you need to install two different versions and modify `./dual-start.bat` according to the comments **, the subsequent steps are slightly different, please continue to read [here](. /doc/Dual_Start.md).
7470

75-
![image-20230221044543472](assets/image-20230221044543472.png)
76-
77-
78-
79-
- Running `funtool_3.6.0.18-1.0.0013.exe` , and press `Start` .
71+
8072

81-
![image-20230221044609319](assets/image-20230221044609319.png)
73+
4. Monitoring WeChat message by running a server. It has been modified to 1 solution after version V1.2:
8274

75+
```bash
76+
> cd .\wxinject\bin\
77+
> .\injector.exe -n WeChat.exe -i .\wxinject.dll
78+
```
79+
80+
8381

84-
8582
5. The last step is fill json files listed in `.config/` .
8683

8784
- In `api_config.json`, you need to fill in your own parameter settings for API calls. If you don’t know the specific parameters, you only need to fill in the "api_key" and optional "proxy" items.
@@ -92,16 +89,6 @@ Using ChatGPT-weBot based on ChatGPT(API key call), Stable Diffusion AI drawing
9289

9390
- In `sys_character.json`, you can customize the character the bot needs to play, and use the command to activate when chatting.
9491

95-
- **(Temporary deprecated)** In `rev_config.json` , you need to fill your ChatGPT login information by *choosing 1 method*:
96-
97-
- Email/Password **(Not supported for Google/Microsoft accounts)**
98-
99-
- session_token **(supported for Google/Microsoft accounts)**
100-
101-
> 1. Go to [`chat.openai.com/chat`](https://chat.openai.com/chat) and log in or sign up.
102-
> 2. Press `F12` to open dev tools.
103-
> 3. Copy cookies as `__Secure-next-auth.session-token` .
104-
10592
10693

10794
6. Run `main.py` by using command:
@@ -128,7 +115,7 @@ Using ChatGPT-weBot based on ChatGPT(API key call), Stable Diffusion AI drawing
128115

129116
4. Have any preview images related to functionality? Yes, go to -> [Preview](./doc/Preview.md)
130117

131-
5. Wanna buy me coffee? Thank you, please don't spend too much money.
118+
5. Wanna buy me coffee? Thank you, qrcode is as follows.
132119

133120
![image-20230321150123666](assets/image-20230321150123666.png)
134121

@@ -150,6 +137,10 @@ Using ChatGPT-weBot based on ChatGPT(API key call), Stable Diffusion AI drawing
150137

151138
## Log
152139

140+
- 2023.10.18 Version v1.2 is released, with new SDK and new WeChat version.
141+
- 2023.10.17 Complete the Python ws_client, update the source code to support the new SDK, and prepare for main architecture upgrades
142+
- 2023.10.15 A large number of APIs are added and type-testing is conducted
143+
- 2023.10.10 Build and improve the SDKs and support the ws client
153144
- 2023.3.24 Exception handler updates and other pull requests from [rogue-shadowdancer](https://github.com/rogue-shadowdancer) and [wbbeyourself](https://github.com/wbbeyourself)
154145
- 2023.3.23 Fix bugs for Stable Diffusion and others, released v1.01 version
155146
- 2023.3.21 Add plenty of new features, fixed bugs, released v1.00 version

Readme_ZH.md

+5-4
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929
- [x] 支持机器人人格设定
3030
- [x] 设置关键字在私聊中唤醒微信机器人
3131
- [x] 设置关键字在群聊中唤醒微信机器人
32-
- [x] 在群聊中提到您的机器人时,支持回复@的消息**(有Bug)**
32+
- [x] 在群聊中提到您的机器人时,支持回复@的消息
3333
- [x] 获取帮助文档
3434
- [x] 重新生成答案
3535
- [x] 回滚对话
@@ -115,7 +115,7 @@
115115

116116
4. 是否有一些功能预览的图片?有的,在这里 -> [功能预览](./doc/Preview.md)
117117

118-
5. 想给我买一杯咖啡?可以,但请不要多花钱,主打一个为爱发电
118+
5. 想给我买一杯咖啡?可以,作者主打一个为爱发电
119119

120120
![image-20230321150123666](assets/image-20230321150123666.png)
121121

@@ -135,8 +135,9 @@
135135

136136
## 日志
137137

138-
- 2023年10月17日,完善 Python 客户端,将源代码更新到支持新的 SDK,准备后续架构升级。
139-
- 2023年10月15日,增加大量API,并进行分类型测试。
138+
- 2023年10月18日,发布 v1.2 版本,支持新版本的 SDK 和 新版微信
139+
- 2023年10月17日,完善 Python ws客户端,将源代码更新到支持新的 SDK,准备后续架构升级
140+
- 2023年10月15日,增加大量API,并进行分类型测试
140141
- 2023年10月10日,自建完善SDK,并将其支持 ws 客户端
141142
- 2023年3月24日,异常处理更新以及来自 [rogue-shadowdancer](https://github.com/rogue-shadowdancer)[wbbeyourself](https://github.com/wbbeyourself) 的 pull request
142143
- 2023年3月23日,修复 stable diffusion 画图及其他功能的 bug,发布 v1.01正式版

doc/Config.md

-8
Original file line numberDiff line numberDiff line change
@@ -95,14 +95,6 @@
9595

9696

9797

98-
------
99-
100-
###### rev_config.json
101-
102-
Temporarily deprecated.
103-
104-
105-
10698
------
10799

108100
###### server_config.json

doc/Config_ZH.md

-8
Original file line numberDiff line numberDiff line change
@@ -95,14 +95,6 @@
9595

9696

9797

98-
------
99-
100-
###### rev_config.json
101-
102-
暂时弃用,无需设置
103-
104-
105-
10698
------
10799

108100
###### server_config.json

0 commit comments

Comments
 (0)