halbot 1989.6.12 → 1989.6.13

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.
Files changed (2) hide show
  1. package/README.md +9 -5
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -15,22 +15,22 @@ Just another `ChatGPT`/`Bing Chat` Telegram bob, which is simple design, easy to
15
15
  - Support `private` and `public` mode, with multiple authenticate methods.
16
16
  - `Middleware` style workflow, easy to extend.
17
17
 
18
- ## How to use
18
+ ## Run it in peace-of-mind
19
19
 
20
20
  ### Configuration
21
21
 
22
22
  Make the `halbot` json config file and put it in this path `~/.halbot.json`.
23
23
 
24
- #### Basic config demo
24
+ Basic config demo:
25
25
 
26
26
  ```json
27
27
  {
28
28
  "telegramToken": "[[Telegram Bot API Token]]",
29
- "chatGptKey": "[[ChatGPT API Key]]",
29
+ "chatGptKey": "[[ChatGPT API Key]]"
30
30
  }
31
31
  ```
32
32
 
33
- #### All supported configuration fields
33
+ All supported configuration fields:
34
34
 
35
35
  ```js
36
36
  {
@@ -73,12 +73,16 @@ Run it in peace of mind.
73
73
  $ npx halbot
74
74
  ```
75
75
 
76
- ### Integrate to your project
76
+ ## Integrate to your project
77
+
78
+ Install:
77
79
 
78
80
  ```bash
79
81
  $ npm i halbot
80
82
  ```
81
83
 
84
+ Usage:
85
+
82
86
  ```js
83
87
  import halbot from 'halbot';
84
88
 
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "halbot",
3
3
  "description": "Just another ChatGPT/Bing Telegram bob.",
4
- "version": "1989.6.12",
4
+ "version": "1989.6.13",
5
5
  "private": false,
6
6
  "homepage": "https://github.com/Leask/halbot",
7
7
  "type": "module",