diff --git a/app/bot.php b/app/bot.php index d84fa25..1a1f4d9 100644 --- a/app/bot.php +++ b/app/bot.php @@ -999,9 +999,10 @@ class Bot if (!empty($last) && $last != $this->last && $last != $current) { $this->last = $last; $diff = array_slice(explode("\n", $last), 0, count(explode("\n", $last)) - count(explode("\n", $current))); + $diff = array_slice($diff, 0, 10); if (!empty($diff)) { foreach ($c['admin'] as $k => $v) { - $this->send($v, "update:\n{$diff[0]}"); + $this->send($v, implode("\n", $diff)); } } } diff --git a/version b/version index 8d3d155..daab907 100644 --- a/version +++ b/version @@ -1,3 +1,5 @@ +16.04.2024 v1.30.1 +- улучшение сообщения об обновлениях 16.04.2024 v1.30 - улучшение скрипта обновления 16.04.2024 v1.29