mirror of
https://github.com/FerraSoft/bottohelp.git
synced 2026-08-06 21:55:03 +00:00
Added debug print to list_posts to check if posts are found
This commit is contained in:
@@ -1001,6 +1001,7 @@ ID: {user_info['ID']}
|
|||||||
return
|
return
|
||||||
|
|
||||||
posts = db.get_scheduled_posts(chat_id=update.effective_chat.id)
|
posts = db.get_scheduled_posts(chat_id=update.effective_chat.id)
|
||||||
|
print(f"DEBUG: Found {len(posts)} posts for chat {update.effective_chat.id}") # Отладочная информация
|
||||||
|
|
||||||
if not posts:
|
if not posts:
|
||||||
await update.message.reply_text(SCHEDULER_MESSAGES['no_posts'])
|
await update.message.reply_text(SCHEDULER_MESSAGES['no_posts'])
|
||||||
|
|||||||
Reference in New Issue
Block a user