Fix typo
This commit is contained in:
parent
fe1af6900a
commit
2411eb1e0a
|
@ -97,7 +97,7 @@ async def _handle_video(video_id, video_title):
|
||||||
elif not last_was_few_moments:
|
elif not last_was_few_moments:
|
||||||
await client.send_message(notify_chat, f'<b>{"Premiere" if is_premiere else "Live event"} starting in {human_end_schedule_time}:</b> <a href="{video_url}">{html.escape(video_title)}</a>')
|
await client.send_message(notify_chat, f'<b>{"Premiere" if is_premiere else "Live event"} starting in {human_end_schedule_time}:</b> <a href="{video_url}">{html.escape(video_title)}</a>')
|
||||||
elif not last_was_few_moments:
|
elif not last_was_few_moments:
|
||||||
await client.send_message(notify_chat, f'<b>{"Premiere" if is_premeire else "Live event"} starting in {human_end_schedule_time}:</b> <a href="{video_url}">{html.escape(video_title)}</a>')
|
await client.send_message(notify_chat, f'<b>{"Premiere" if is_premiere else "Live event"} starting in {human_end_schedule_time}:</b> <a href="{video_url}">{html.escape(video_title)}</a>')
|
||||||
last_was_few_moments = 'moment' in human_end_schedule_time.lower()
|
last_was_few_moments = 'moment' in human_end_schedule_time.lower()
|
||||||
await asyncio.sleep(wait_time)
|
await asyncio.sleep(wait_time)
|
||||||
else:
|
else:
|
||||||
|
|
Loading…
Reference in New Issue