halbot 1993.2.93 → 1993.2.94
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/lib/hal.mjs +1 -1
- package/package.json +1 -1
package/lib/hal.mjs
CHANGED
|
@@ -256,7 +256,7 @@ const memorize = async (ctx) => {
|
|
|
256
256
|
const received = ctx.update;
|
|
257
257
|
const received_text = ctx.txt || ''; // ATTACHMENTS
|
|
258
258
|
const id = received.update_id;
|
|
259
|
-
const response = utilitas.lastItem(ctx.done.filter(x => x
|
|
259
|
+
const response = utilitas.lastItem(ctx.done.filter(x => x?.text)) || {};
|
|
260
260
|
const response_text = response?.text || '';
|
|
261
261
|
const collected = ctx.collected.filter(x => String.isString(x.content));
|
|
262
262
|
const distilled = compact(bot.lines([
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "halbot",
|
|
3
3
|
"description": "Just another `ChatGPT` / `Gemini` / `Claude` / `Azure` / `Jina` / `Ollama` Telegram bob, which is simple design, easy to use, extendable and fun.",
|
|
4
|
-
"version": "1993.2.
|
|
4
|
+
"version": "1993.2.94",
|
|
5
5
|
"private": false,
|
|
6
6
|
"homepage": "https://github.com/Leask/halbot",
|
|
7
7
|
"type": "module",
|