임시 커밋

This commit is contained in:
암냥 2025-02-08 21:10:40 +09:00
commit ba11447da1
5 changed files with 55 additions and 0 deletions

View file

@ -52,6 +52,19 @@ print("🗨️ | Uploading at Discord")
lib.디스코드(MLSV_YMD)
print("🗨️ | Uploaded at Discord")
print(f"📆 | Today Date : {MLSV_YMD}")
# Check if today is the last day of the month
today = datetime.now()
first_day_of_next_month = today.replace(day=28) + timedelta(days=4)
last_day_of_this_month = first_day_of_next_month - timedelta(days=first_day_of_next_month.day)
if today.date() == last_day_of_this_month.date():
print("📅 | Today is the last day of the month.")
print("📆 | Uploading School Event Post")
lib.학사일정_얻기(MLSV_YMD)
print("📆 | School Event Post Uploaded")
else:
print("📅 | Today is not the last day of the month.")
print("🎉 | All tasks completed.")
# Calculate running time
print("🕒 | Running Time:", datetime.now() - start_time)