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""" 概要には次のように書かれています: