From 9d72df1ef675779d2e394b77a4acb5b8acc95530 Mon Sep 17 00:00:00 2001 From: root Date: Sun, 23 Aug 2026 07:45:36 +0500 Subject: [PATCH] refactor(stars): simplify reply format and adjust delay --- modules/stars_bot.py | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/modules/stars_bot.py b/modules/stars_bot.py index dd8de92..14ea9f2 100644 --- a/modules/stars_bot.py +++ b/modules/stars_bot.py @@ -286,13 +286,12 @@ class TelegramStarsBot: if poster_user_id: replies = self.config._load_replies() - for reply_options in replies: - await asyncio.sleep(self.config.api_delay) - - reply_message = f"[userids={poster_user_id};align=left]{random.choice(reply_options)}[/userids]" + reply_message = random.choice(reply_options) await self.lolz_api.create_comment(post_id, reply_message) + await asyncio.sleep(self.config.api_delay) + if self.notification_bot: await self.notification_bot.success( link=f"https://t.me/{channel}/{message_id}",