From 9280d57951e072cdfc8dbe2569f02be6955a5208 Mon Sep 17 00:00:00 2001 From: miteruzo Date: Sun, 19 Oct 2025 16:44:33 +0900 Subject: [PATCH] =?UTF-8?q?=E7=B4=B0=E9=83=A8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- main.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/main.py b/main.py index 1ce6bff..ae83cf0 100644 --- a/main.py +++ b/main.py @@ -24,7 +24,7 @@ KIRIBAN_VIEWS_COUNTS: list[int] = sorted ({ *range (1_000, 10_000, 1_000), 4_545, 194_245, 245_194, 510_245 }, reverse = True) -kiriban_list: list[tuple[int, VideoInfo, datetime]] +kiriban_list: list[tuple[int, VideoInfo, datetime]] = [] watched_videos: set[str] = set () @@ -89,7 +89,7 @@ async def report_kiriban ( prompt += f"つけられたタグは「{ '」、「'.join (video_info['tags']) }」です。\n" if comments: prompt += f"人気のコメントは次の通りです:「{ '」、「'.join (c.content for c in popular_comments) }」\n" - if latest_comments != popular_comment: + if latest_comments != popular_comments: prompt += f"最新のコメントは次の通りです:「{ '」、「'.join (c.content for c in latest_comments) }」\n" prompt += f""" 概要には次のように書かれています: