From d51b133b8eba52ff430e5797f8db84c16a0099ec Mon Sep 17 00:00:00 2001 From: Dmitriy Pleshevskiy Date: Thu, 14 Mar 2024 14:00:20 +0300 Subject: [PATCH] use one newline after YandexGPT --- bot.nix | 2 +- main.mjs | 2 +- package.json | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/bot.nix b/bot.nix index 8295c17..59772de 100644 --- a/bot.nix +++ b/bot.nix @@ -2,7 +2,7 @@ pkgs.buildNpmPackage { pname = "yandexgpt_tg_bot"; - version = "0.1.0"; + version = "0.1.2"; src = ./.; diff --git a/main.mjs b/main.mjs index 9180aa5..1488cc2 100644 --- a/main.mjs +++ b/main.mjs @@ -41,7 +41,7 @@ bot.on("channel_post", (msg) => { taskEither.tryCatch( () => bot.editMessageText( - msg.text + "\n\nYandexGPT:\n\n" + res, + msg.text + "\n\nYandexGPT:\n" + res, { chat_id: (msg.forward_from_chat ?? msg.chat).id, message_id: msg.forward_from_message_id ?? msg.message_id, diff --git a/package.json b/package.json index 56f135f..cfaacd6 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "yandexgpt_tg_bot", - "version": "0.1.0", + "version": "0.1.2", "private": true, "type": "module", "main": "./main.mjs",