fix schedule (#1286)

This commit is contained in:
NotSoToothless
2026-05-29 09:45:37 -07:00
committed by GitHub
parent 5d972d7314
commit cc4bc14193
+2 -2
View File
@@ -8712,8 +8712,8 @@ async def schedule_cmd(interaction: discord.Interaction):
br_str = f"{br:.1f}"
date_str = f"<t:{start_ts}:d> — <t:{end_ts}:d>"
is_past = now > end_ts + 86399
is_current = start_ts <= now <= end_ts + 86399
is_past = now >= end_ts
is_current = start_ts <= now < end_ts
if is_past:
lines.append(f"> ~~**{br_str} ({date_str})**~~")