You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: Readme.md
+20-29
Original file line number
Diff line number
Diff line change
@@ -8,13 +8,13 @@
8
8
9
9
Using ChatGPT-weBot based on ChatGPT(API key call), Stable Diffusion AI drawing and official WeChat hook interface. [中文文档](./Readme_ZH.md) | English
10
10
11
-
<divalign="center"> <imgsrc="assets/DALL·E - A robot is working hard to transform, modify, and revolutionize the WeChat software.png"width="50%"> </div>
11
+
<divalign="center"> <imgsrc="assets/DALL·E3 - A robot is working hard to transform, modify, and revolutionize the WeChat software.png"width="50%"> </div>
12
12
13
13
###### Author
14
14
15
15
[Snapdragon Lee (github.com)](https://github.com/SnapdragonLee)
16
16
17
-
*cover created from [DALL·E2 (openai.com)](https://labs.openai.com/)*
17
+
*cover created from [DALL·E3 (openai.com)](https://labs.openai.com/)*
18
18
19
19
20
20
@@ -29,7 +29,7 @@ Using ChatGPT-weBot based on ChatGPT(API key call), Stable Diffusion AI drawing
29
29
-[x] Support bot's character setting
30
30
-[x] Set the keywords to wake up the WeChat robot in private
31
31
-[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
33
33
-[x] Get help doc inline
34
34
-[x] Regenerate conversation
35
35
-[x] Rollback conversation
@@ -56,32 +56,29 @@ Using ChatGPT-weBot based on ChatGPT(API key call), Stable Diffusion AI drawing
56
56
57
57
1. Install all packages listed in `requirements.txt` , use the command like:
58
58
59
-
```
59
+
```bash
60
60
pip install -r ./requirements.txt
61
61
```
62
62
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.***
68
64
69
65
70
66
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)
72
68
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).
4. Monitoring WeChat message by running a server. It has been modified to 1 solution after version V1.2:
82
74
75
+
```bash
76
+
>cd .\wxinject\bin\
77
+
> .\injector.exe -n WeChat.exe -i .\wxinject.dll
78
+
```
79
+
80
+
83
81
84
-
85
82
5. The last step is fill json files listed in `.config/` .
86
83
87
84
- 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
92
89
93
90
- In `sys_character.json`, you can customize the character the bot needs to play, and use the command to activate when chatting.
94
91
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
-
105
92
106
93
107
94
6. Run `main.py` by using command:
@@ -128,7 +115,7 @@ Using ChatGPT-weBot based on ChatGPT(API key call), Stable Diffusion AI drawing
128
115
129
116
4. Have any preview images related to functionality? Yes, go to -> [Preview](./doc/Preview.md)
130
117
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.
@@ -150,6 +137,10 @@ Using ChatGPT-weBot based on ChatGPT(API key call), Stable Diffusion AI drawing
150
137
151
138
## Log
152
139
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
153
144
- 2023.3.24 Exception handler updates and other pull requests from [rogue-shadowdancer](https://github.com/rogue-shadowdancer) and [wbbeyourself](https://github.com/wbbeyourself)
154
145
- 2023.3.23 Fix bugs for Stable Diffusion and others, released v1.01 version
155
146
- 2023.3.21 Add plenty of new features, fixed bugs, released v1.00 version
0 commit comments