From 3d08036a5b8f1f3379ecaba475fd44be427f9b14 Mon Sep 17 00:00:00 2001 From: Aleksandr Yakovlev Date: Mon, 9 Sep 2024 10:06:24 +0600 Subject: [PATCH] rm telegram links --- bot.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bot.php b/bot.php index 5100d83..9c876ae 100644 --- a/bot.php +++ b/bot.php @@ -115,7 +115,7 @@ foreach ($articles as $article) { $limit = 500 - strlen($link_telegram) - strlen($title) - 20; $description = "$title\n\n".ellipse($description, $limit); $description_mastodon = $description."\nСсылка на статью и голосование за рейтинг: $link_mastodon"; - $description_telegram = $description."\n$link_telegram\nСсылка на статью и голосование за рейтинг: $link_mastodon"; + $description_telegram = $description.PHP_EOL.$link_mastodon; if (!$config['DRY_RUN']) { if ($config['TELEGRAM'] === true) {