use one newline after YandexGPT

This commit is contained in:
Dmitriy Pleshevskiy 2024-03-14 14:00:20 +03:00
parent c55983fd53
commit d51b133b8e
Signed by: pleshevskiy
GPG key ID: 17041163DA10A9A2
3 changed files with 3 additions and 3 deletions

View file

@ -2,7 +2,7 @@
pkgs.buildNpmPackage {
pname = "yandexgpt_tg_bot";
version = "0.1.0";
version = "0.1.2";
src = ./.;

View file

@ -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,

View file

@ -1,6 +1,6 @@
{
"name": "yandexgpt_tg_bot",
"version": "0.1.0",
"version": "0.1.2",
"private": true,
"type": "module",
"main": "./main.mjs",