halbot 1989.6.14 → 1989.6.16
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +17 -0
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -5,6 +5,20 @@
|
|
|
5
5
|
|
|
6
6
|
Just another `ChatGPT`/`Bing Chat` Telegram bob, which is simple design, easy to use, extendable and fun.
|
|
7
7
|
|
|
8
|
+
Live demo:
|
|
9
|
+
|
|
10
|
+
[](https://www.youtube.com/watch?v=MzBocSyYfcY)
|
|
11
|
+
|
|
12
|
+
Screenshots:
|
|
13
|
+
|
|
14
|
+
<img width="972" alt="Screenshot 2023-03-12 at 10 59 59 AM" src="https://user-images.githubusercontent.com/233022/224584278-9c3e3374-6ac2-44ca-8d35-df7747b9c1be.png">
|
|
15
|
+
|
|
16
|
+
<img width="977" alt="Screenshot 2023-03-12 at 11 00 34 AM" src="https://user-images.githubusercontent.com/233022/224584280-113c03af-54b8-4724-86c7-3aa975f53c9c.png">
|
|
17
|
+
|
|
18
|
+
<img width="965" alt="Screenshot 2023-03-12 at 11 00 17 AM" src="https://user-images.githubusercontent.com/233022/224584281-526578f9-3f0f-4bf6-a89c-56b07f97beae.png">
|
|
19
|
+
|
|
20
|
+
<img width="969" alt="Screenshot 2023-03-12 at 10 58 11 AM" src="https://user-images.githubusercontent.com/233022/224584282-d12dca78-1da3-4166-ba39-6d14b78ab3e2.png">
|
|
21
|
+
|
|
8
22
|
## Features
|
|
9
23
|
|
|
10
24
|
- Telegram Bot (`Telegram Bot` token required)
|
|
@@ -34,6 +48,7 @@ All supported configuration fields:
|
|
|
34
48
|
|
|
35
49
|
```js
|
|
36
50
|
{
|
|
51
|
+
|
|
37
52
|
// REQUIRED, string.
|
|
38
53
|
"telegramToken": "[[Telegram Bot API Token]]",
|
|
39
54
|
|
|
@@ -69,6 +84,7 @@ All supported configuration fields:
|
|
|
69
84
|
// By default, it will only reply to `private` chats and group `mention`s.
|
|
70
85
|
// Adding 'group' or 'channel' may cause too much disturbance.
|
|
71
86
|
"chatType": ["mention", "private"]
|
|
87
|
+
|
|
72
88
|
}
|
|
73
89
|
```
|
|
74
90
|
|
|
@@ -94,6 +110,7 @@ Usage:
|
|
|
94
110
|
import halbot from 'halbot';
|
|
95
111
|
|
|
96
112
|
const config = {
|
|
113
|
+
|
|
97
114
|
// ...[[ALL THE CONFIG FIELDS SUPPORTED ABOVE]]],
|
|
98
115
|
|
|
99
116
|
// OPTIONAL, function.
|