Browse Source

先に待つやぅに修正(エラー落ち時の加重アクセス回避)

kiriban
みてるぞ 1 month ago
parent
commit
76abbe4fdd
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      main.py

+ 2
- 2
main.py View File

@@ -70,6 +70,8 @@ def main (
has_taken_hot_spring = False
watched_videos = []
while True:
time.sleep (60)

now = datetime.now ()

for uri in check_notifications (client):
@@ -187,8 +189,6 @@ def main (
client.post (Talk.main ('今どうしてる?'))
last_posted_at = now

time.sleep (60)


def get_embed_info (
url: str


Loading…
Cancel
Save