From eaf6e4b655e12f88d4d1b0defe5b45b38818bdd1 Mon Sep 17 00:00:00 2001 From: Aleksandr Yakovlev Date: Tue, 11 Jun 2024 05:29:17 +0600 Subject: [PATCH] vote link --- bot.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bot.php b/bot.php index 6bc3672..14c2412 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"; + $description_telegram = $description."\n$link_telegram\nГолосовать: $link_mastodon"; if (!$config['DRY_RUN']) { if ($config['TELEGRAM'] === true) {