fix: skip notifications during baseline load, add /interval command with /list display
This commit is contained in:
+1
-1
@@ -96,7 +96,7 @@ async def scheduler_task(pool: object, bot: ExtBot) -> None:
|
||||
fields.get("main_image_url"), fields.get("postcode"), ad_uuid,
|
||||
)
|
||||
|
||||
if not initial_loaded:
|
||||
if initial_loaded:
|
||||
notify_fields = {**fields, "keyword": keyword}
|
||||
for tg_id in telegram_ids:
|
||||
await notify_new_ad(bot, tg_id, notify_fields)
|
||||
|
||||
Reference in New Issue
Block a user