import sys from src.void_tools.client import get_client client = get_client() # Check unread count resp = client.app.bsky.notification.get_unread_count() print(f"Unread notifications: {resp.count}") # Mark them as seen up to now current_time = client.get_current_time_iso() client.app.bsky.notification.update_seen({'seen_at': current_time}) print(f"Marked as seen up to {current_time}") resp = client.app.bsky.notification.get_unread_count() print(f"Unread notifications after update: {resp.count}")