halbot 1989.6.14 → 1989.6.15
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 +3 -0
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -34,6 +34,7 @@ All supported configuration fields:
|
|
|
34
34
|
|
|
35
35
|
```js
|
|
36
36
|
{
|
|
37
|
+
|
|
37
38
|
// REQUIRED, string.
|
|
38
39
|
"telegramToken": "[[Telegram Bot API Token]]",
|
|
39
40
|
|
|
@@ -69,6 +70,7 @@ All supported configuration fields:
|
|
|
69
70
|
// By default, it will only reply to `private` chats and group `mention`s.
|
|
70
71
|
// Adding 'group' or 'channel' may cause too much disturbance.
|
|
71
72
|
"chatType": ["mention", "private"]
|
|
73
|
+
|
|
72
74
|
}
|
|
73
75
|
```
|
|
74
76
|
|
|
@@ -94,6 +96,7 @@ Usage:
|
|
|
94
96
|
import halbot from 'halbot';
|
|
95
97
|
|
|
96
98
|
const config = {
|
|
99
|
+
|
|
97
100
|
// ...[[ALL THE CONFIG FIELDS SUPPORTED ABOVE]]],
|
|
98
101
|
|
|
99
102
|
// OPTIONAL, function.
|