|
1 | 1 | # DiscordBot-EdgeGPT
|
2 | 2 | > ## Using Microsoft's Bing Chat AI and Bing Image Creator on discord bot.
|
| 3 | + |
3 | 4 |
|
4 | 5 | ## Update
|
5 |
| -> ### 2023/11/13: Use another bing api instead. |
6 |
| -> ### 2023/6/21: fix Redirect failed when using Creative style to create images. |
7 |
| -> ### 2023/6/1 : Users not need to set cookies also can use slash command. |
8 |
| -> ### 2023/5/21 : Anyone who wants to use slash command should set their cookies first. |
| 6 | +> ### 2023/12/22:Support uploading image while chatting. |
| 7 | +> ### 2023/11/13:Use another bing api instead. |
| 8 | +> ### 2023/6/21:fix Redirect failed when using Creative style to create images. |
| 9 | +> ### 2023/6/1:Users not need to set cookies also can use slash command. |
| 10 | +> ### 2023/5/21:Anyone who wants to use slash command should set their cookies first. |
9 | 11 |
|
10 | 12 | ## Features
|
11 | 13 |
|
|
18 | 20 |
|
19 | 21 | > ### will create a separate chat for each user.
|
20 | 22 |
|
21 |
| -* cookies setting(use personal Bing Cookies): `/bing setting [choice]` |
22 |
| -  |
| 23 | +* cookies setting(can use personal Bing Cookies): `/bing setting [choice]` |
| 24 | +  |
23 | 25 |
|
24 | 26 |
|
25 |
| -* bing: `/bing [message]` |
| 27 | +* bing: `/bing [message] [image]` |
26 | 28 |
|
27 | 29 | 
|
28 | 30 |
|
|
32 | 34 |
|
33 | 35 | * conversation style (default balanced): `/switch style [style]`
|
34 | 36 |
|
35 |
| -  |
| 37 | +  |
36 | 38 |
|
37 |
| -* reset: `/reset` |
| 39 | +* reset conversation: `/reset conversation` |
38 | 40 |
|
39 |
| -  |
| 41 | +  |
40 | 42 | </details>
|
41 | 43 |
|
42 | 44 | <details>
|
|
55 | 57 |
|
56 | 58 | * Same as use `/bing`,
|
57 | 59 |
|
58 |
| -  |
59 |
| - |
60 |
| - after switching styles to creative, you can also generate images! |
61 |
| - |
62 |
| -  |
| 60 | +  |
63 | 61 |
|
64 | 62 | </details>
|
65 | 63 |
|
@@ -99,7 +97,7 @@ pip install -r requirements.txt
|
99 | 97 | MENTION_CHANNEL_ID=123456789
|
100 | 98 | ```
|
101 | 99 |
|
102 |
| -2. Get Bing authentication. |
| 100 | +2. Create `cookies.json` file, and get Bing authentication. |
103 | 101 | * Install the cookie editor extension for Chrome or Firefox.
|
104 | 102 | * Go to [bing.com](http://bing.com/chat)
|
105 | 103 | * Click "Export" on the bottom right.
|
|
0 commit comments