From 51f37eb527a43cf835c67b8de94a1d92c245376b Mon Sep 17 00:00:00 2001 From: Daniil Gentili Date: Sat, 25 Nov 2023 20:24:40 +0100 Subject: [PATCH] fix --- examples/tgstories_dl_bot.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/tgstories_dl_bot.php b/examples/tgstories_dl_bot.php index 3a347ae29..177074762 100644 --- a/examples/tgstories_dl_bot.php +++ b/examples/tgstories_dl_bot.php @@ -137,7 +137,7 @@ final class StoriesEventHandler extends SimpleEventHandler usort($stories, static fn ($a, $b) => $a['date'] <=> $b['date']); $message = $message->reply("Total stories: ".count($stories)); - foreach (array_chunk($stories, 50) as $sub) { + foreach (array_chunk($stories, 10) as $sub) { $result = ''; foreach ($sub as $story) { $cur = "- ID {$story['id']}, posted ".date(DATE_RFC850, $story['date']);