halbot 1990.1.3 → 1990.1.4
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 +2 -2
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -184,8 +184,8 @@ const config = {
|
|
|
184
184
|
// OPTIONAL, object.
|
|
185
185
|
// Using customized callback as storage engine.
|
|
186
186
|
session: {
|
|
187
|
-
get: async (
|
|
188
|
-
set: async (
|
|
187
|
+
get: async (key) => { /* return session object by chatId. */ },
|
|
188
|
+
set: async (key, session) => { /* save session object by chatId. */ },
|
|
189
189
|
},
|
|
190
190
|
|
|
191
191
|
};
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "halbot",
|
|
3
3
|
"description": "Just another ChatGPT/Bing Chat Telegram bob, which is simple design, easy to use, extendable and fun.",
|
|
4
|
-
"version": "1990.1.
|
|
4
|
+
"version": "1990.1.4",
|
|
5
5
|
"private": false,
|
|
6
6
|
"homepage": "https://github.com/Leask/halbot",
|
|
7
7
|
"type": "module",
|