diff --git a/main.py b/main.py index a5bc3c5..9ed0a51 100644 --- a/main.py +++ b/main.py @@ -61,6 +61,8 @@ def get_thread_contents ( def main ( ) -> None: + time.sleep (60) + client = Client (base_url = 'https://bsky.social') client.login (account.USER_ID, account.PASSWORD) @@ -70,8 +72,6 @@ def main ( has_taken_hot_spring = False watched_videos = [] while True: - time.sleep (60) - now = datetime.now () for uri in check_notifications (client): @@ -189,6 +189,9 @@ def main ( client.post (Talk.main ('今どうしてる?')) last_posted_at = now + time.sleep (60) + + def get_embed_info ( url: str