先に待つやぅに修正(エラー落ち時の加重アクセス回避)
このコミットが含まれているのは:
@@ -70,6 +70,8 @@ def main (
|
|||||||
has_taken_hot_spring = False
|
has_taken_hot_spring = False
|
||||||
watched_videos = []
|
watched_videos = []
|
||||||
while True:
|
while True:
|
||||||
|
time.sleep (60)
|
||||||
|
|
||||||
now = datetime.now ()
|
now = datetime.now ()
|
||||||
|
|
||||||
for uri in check_notifications (client):
|
for uri in check_notifications (client):
|
||||||
@@ -187,8 +189,6 @@ def main (
|
|||||||
client.post (Talk.main ('今どうしてる?'))
|
client.post (Talk.main ('今どうしてる?'))
|
||||||
last_posted_at = now
|
last_posted_at = now
|
||||||
|
|
||||||
time.sleep (60)
|
|
||||||
|
|
||||||
|
|
||||||
def get_embed_info (
|
def get_embed_info (
|
||||||
url: str
|
url: str
|
||||||
|
|||||||
新しい課題から参照
ユーザをブロックする